mirror of
https://github.com/HASwitchPlate/openHASP.git
synced 2025-07-27 13:16:45 +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
|
path: build_output/firmware/*.*n
|
||||||
## Release only:
|
## Release only:
|
||||||
- name: Zip artifact for deployment
|
- 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
|
- name: On Release, upload assets to that Release
|
||||||
|
if: github.ref != 'refs/heads/master'
|
||||||
uses: AButler/upload-release-assets@v3.0
|
uses: AButler/upload-release-assets@v3.0
|
||||||
with:
|
with:
|
||||||
files: ${{ matrix.environment.out }}.zip
|
files: ${{ matrix.environment.out }}.zip
|
||||||
|
Loading…
x
Reference in New Issue
Block a user