From 5efbf958756b0a7b924cd26ea5571e378221e330 Mon Sep 17 00:00:00 2001 From: Chronophylos Date: Sat, 20 Mar 2021 19:22:21 +0100 Subject: [PATCH] fix zip not packing directories --- .github/workflows/main.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 9c4bc54..66694f6 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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: @@ -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