mockband/.gitea/workflows/build.yaml

20 lines
506 B
YAML
Raw Normal View History

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 22:19:58 -07:00
run: git clone -b $GITHUB_REF_NAME $GITHUB_SERVER_URL/$GITHUB_REPOSITORY .
2024-01-05 09:06:59 -07:00
- name: build firmwares
2024-01-05 08:50:10 -07:00
run: make
2024-01-05 09:06:59 -07:00
- name: build zip file
run: make dist
2024-01-04 21:36:17 -07:00
- name: publish
env:
PACKAGE_API_TOKEN: ${{ secrets.PACKAGE_API_TOKEN }}
2024-01-05 09:06:59 -07:00
run: .gitea/publish.sh build/*.zip build/*.hex