Skip to content
This repository has been archived by the owner on Jul 30, 2022. It is now read-only.

Commit

Permalink
fix zip not packing directories
Browse files Browse the repository at this point in the history
  • Loading branch information
Chronophylos committed Mar 20, 2021
1 parent aae7646 commit 5efbf95
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on: [push, pull_request]

env:
MOD_NAME: Eridium
RELEASE_FILES: "*.py LICENSE licenses/ dist/"
RELEASE_FILES: "*.py LICENSE licenses dist"

jobs:
check:
Expand Down Expand Up @@ -50,9 +50,9 @@ jobs:
uses: actions/checkout@v2

- name: Package as tar
run: tar czf ${{ github.event.repository.name }}.tar.gz $RELEASE_FILES
run: tar -czvf ${{ github.event.repository.name }}.tar.gz $RELEASE_FILES
- name: Package as zip
run: zip ${{ github.event.repository.name }}.zip $RELEASE_FILES
run: zip -r ${{ github.event.repository.name }}.zip $RELEASE_FILES

- name: Release
uses: softprops/action-gh-release@v1
Expand Down

0 comments on commit 5efbf95

Please sign in to comment.