mockband/.gitea/workflows/build.yaml

18 lines
432 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-04 21:36:17 -07:00
- name: build
2024-01-05 08:50:10 -07:00
run: make
2024-01-04 21:36:17 -07:00
- name: publish
env:
PACKAGE_API_TOKEN: ${{ secrets.PACKAGE_API_TOKEN }}
2024-01-05 09:04:51 -07:00
run: .gitea/publish.sh build/*.hex