Skip to content

Commit

Permalink
Split release file in 3 seperate files
Browse files Browse the repository at this point in the history
  • Loading branch information
Grotax committed Aug 15, 2023
1 parent 482fd15 commit f87d78d
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,13 +59,16 @@ jobs:
- name: create release archive
run: |
cd /tmp/ffsh/firmware_store/
tar cfz ${{ env.VERSION }}.tar.gz ${{ env.VERSION }}
tar cfz ${{ env.VERSION }}-factory.tar.gz ${{ env.VERSION }}/factory
tar cfz ${{ env.VERSION }}-other.tar.gz ${{ env.VERSION }}/other
tar cfz ${{ env.VERSION }}-sysupgrade.tar.gz ${{ env.VERSION }}/sysupgrade
- name: Upload release archive to release
uses: svenstaro/upload-release-action@1beeb572c19a9242f4361f4cee78f8e0d9aec5df
id: attach_to_release
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: /tmp/ffsh/firmware_store/${{ env.VERSION }}.tar.gz
file: /tmp/ffsh/firmware_store/*.tar.gz
asset_name: ${{ env.VERSION }}.tar.gz
tag: ${{ env.VERSION }}
overwrite: true
file_glob: true

0 comments on commit f87d78d

Please sign in to comment.