mirror of
https://github.com/HASwitchPlate/openHASP.git
synced 2025-07-24 11:46:34 +00:00
Upload assets only on release
This commit is contained in:
parent
4e16639794
commit
7053024146
5
.github/workflows/build.yaml
vendored
5
.github/workflows/build.yaml
vendored
@ -104,8 +104,11 @@ jobs:
|
||||
path: build_output/firmware/*.*n
|
||||
## Release only:
|
||||
- name: Zip artifact for deployment
|
||||
run: zip ${{ matrix.environment.out }}.zip "build_output/firmware/*.bin" -r
|
||||
if: github.ref != 'refs/heads/master'
|
||||
run: |
|
||||
zip ${{ matrix.environment.out }}.zip "build_output/firmware/*.bin" -r
|
||||
- name: On Release, upload assets to that Release
|
||||
if: github.ref != 'refs/heads/master'
|
||||
uses: AButler/upload-release-assets@v3.0
|
||||
with:
|
||||
files: ${{ matrix.environment.out }}.zip
|
||||
|
Loading…
x
Reference in New Issue
Block a user