mirror of
https://github.com/HASwitchPlate/openHASP.git
synced 2025-07-24 11:46:34 +00:00
Test workflow
This commit is contained in:
parent
75eac9f432
commit
5470d99c7a
15
.github/workflows/test.yaml
vendored
15
.github/workflows/test.yaml
vendored
@ -41,5 +41,16 @@ jobs:
|
||||
- name: Upload output file
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: Upload firmware
|
||||
path: build_output/firmware/*.bin
|
||||
name: hasp-lvgl firmware.zip
|
||||
path: build_output/firmware/*.bin
|
||||
- name: Create release and upload firmware
|
||||
run: |
|
||||
set -x
|
||||
assets=()
|
||||
for asset in build_output/firmware/*.bin; do
|
||||
assets+=("-a" "$asset")
|
||||
done
|
||||
tag_name="${GITHUB_REF##*/}"
|
||||
hub release create "${assets[@]}" -m "$tag_name" "$tag_name"
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
Loading…
x
Reference in New Issue
Block a user