Skip to content

Commit

Permalink
Zip build artifacts before uploading to GH release
Browse files Browse the repository at this point in the history
  • Loading branch information
Blockost committed Dec 7, 2024
1 parent 89b7ef2 commit 45995ce
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ jobs:
git tag -a "$NEW_VERSION" -m "Release $NEW_VERSION"
git push origin --tags
- name: Zip build files
run: cd dist/habitica-equipment-tracker/browser && zip -r build.zip *

- name: Create new release + upload build artifact
uses: softprops/action-gh-release@v2
with:
Expand All @@ -43,7 +46,7 @@ jobs:
body: ""
tag_name: ${{ env.NEW_VERSION }}
target_commitish: ${{ env.NEW_COMMIT_SHA }}
files: dist/habitica-equipment-tracker/browser/**/*
files: dist/habitica-equipment-tracker/browser/build.zip
fail_on_unmatched_files: true


Expand Down

0 comments on commit 45995ce

Please sign in to comment.