2024-01-04 21:36:17 -07:00
|
|
|
name: Mockband
|
|
|
|
on: [push]
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
runs-on:
|
|
|
|
- arduino
|
|
|
|
env:
|
|
|
|
PACKAGE_API_TOKEN: ${PACKAGE_API_TOKEN}
|
|
|
|
steps:
|
|
|
|
- name: check out repository
|
2024-01-04 23:07:43 -07:00
|
|
|
run: git clone -b $GITHUB_REF_NAME $GITHUB_SERVER_URL/$GITHUB_REPOSITORY .
|
2024-01-04 21:36:17 -07:00
|
|
|
- name: build
|
|
|
|
run: .gitea/build.sh
|
|
|
|
- name: publish
|
|
|
|
env:
|
|
|
|
PACKAGE_API_TOKEN: ${{ secrets.PACKAGE_API_TOKEN }}
|
|
|
|
run: .gitea/publish.sh out/*
|