Skip to content

Commit

Permalink
Compress release assets to zip file.
Browse files Browse the repository at this point in the history
  • Loading branch information
gkoh authored Jun 25, 2024
1 parent 4f52993 commit feb750f
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ on:

env:
BUILD_TYPE: Release
RELEASE_ZIP: pico-cec-${{github.ref_name}}.zip

jobs:
format:
Expand Down Expand Up @@ -84,10 +85,12 @@ jobs:
mv openscad/*.stl .
sha256sum pico-cec.uf2 *.stl > sha256sum.txt
- name: Compress release assets
run: |
zip ${{env.RELEASE_ZIP}} pico-cec.uf2 *.stl sha256sum.txt
- name: Release
uses: softprops/action-gh-release@v2
with:
files: |
pico-cec.uf2
*.stl
sha256sum.txt
${{env.RELEASE_ZIP}}

0 comments on commit feb750f

Please sign in to comment.