mirror of
https://github.com/HASwitchPlate/openHASP.git
synced 2025-07-27 13:16:45 +00:00
Zip atrifacts before release upload
This commit is contained in:
parent
1f01ece609
commit
4e16639794
7
.github/workflows/build.yaml
vendored
7
.github/workflows/build.yaml
vendored
@ -102,13 +102,16 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
name: ${{ matrix.environment.out }}
|
name: ${{ matrix.environment.out }}
|
||||||
path: build_output/firmware/*.*n
|
path: build_output/firmware/*.*n
|
||||||
|
## Release only:
|
||||||
|
- name: Zip artifact for deployment
|
||||||
|
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
|
||||||
uses: AButler/upload-release-assets@v3.0
|
uses: AButler/upload-release-assets@v3.0
|
||||||
with:
|
with:
|
||||||
files: "build_output/firmware/*.bin"
|
files: ${{ matrix.environment.out }}.zip
|
||||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
|
|
||||||
linux_build:
|
linux_build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user