diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index a1017426ef..e443721c93 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -34,7 +34,7 @@ jobs: uses: actions/upload-artifact@v1 with: name: abst_mac - path: abst_mac + path: abst_mac.zip build-linux: runs-on: ubuntu-latest if: "contains(github.event.head_commit.message, '[rebuild]')" @@ -51,4 +51,4 @@ jobs: uses: actions/upload-artifact@v1 with: name: abst_linux - path: abst_linux + path: abst_linux.zip diff --git a/release/build.sh b/release/build.sh index d4e4ec637c..e6a4ab39c2 100755 --- a/release/build.sh +++ b/release/build.sh @@ -20,4 +20,7 @@ mkdir $output/game cp $binary $output/game cp -Rv game/assets $output/game -rm -f release_data.zip +# TODO Github will double-zip this, but if we just pass the directory, then the +# chmod +x bits get lost +zip -r $output $output +rm -f release_data.zip $output