mockband/.gitea/workflows/build.yaml

18 lines
432 B
YAML

name: Mockband
on: [push]
jobs:
build:
runs-on:
- arduino
env:
PACKAGE_API_TOKEN: ${PACKAGE_API_TOKEN}
steps:
- name: check out repository
run: git clone -b $GITHUB_REF_NAME $GITHUB_SERVER_URL/$GITHUB_REPOSITORY .
- name: build
run: make
- name: publish
env:
PACKAGE_API_TOKEN: ${{ secrets.PACKAGE_API_TOKEN }}
run: .gitea/publish.sh build/*.hex