Skip to content

Commit

Permalink
use zip
Browse files Browse the repository at this point in the history
  • Loading branch information
Tawmu committed Apr 20, 2023
1 parent 62a2ca3 commit 9469907
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@
/.git export-ignore
/.github export-ignore
/.gitignore export-ignore
/.gitattributes export-ignore
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//}

- name: Create artifact
run: git archive -o ${{ steps.get_version.outputs.VERSION }}.zip HEAD
run: zip -r ${{ steps.get_version.outputs.VERSION }}.zip.zip . -x '.github**' -x '.git**' -x '.gitignore' -x '.gitattributes'

- name: Create release
id: create_release
Expand Down

0 comments on commit 9469907

Please sign in to comment.