work around more github action silliness [rebuild]

This commit is contained in:
Dustin Carlino 2020-01-22 10:44:46 -08:00
parent 9a10c52d92
commit d0afcedbaa
2 changed files with 6 additions and 3 deletions

View File

@ -34,7 +34,7 @@ jobs:
uses: actions/upload-artifact@v1 uses: actions/upload-artifact@v1
with: with:
name: abst_mac name: abst_mac
path: abst_mac path: abst_mac.zip
build-linux: build-linux:
runs-on: ubuntu-latest runs-on: ubuntu-latest
if: "contains(github.event.head_commit.message, '[rebuild]')" if: "contains(github.event.head_commit.message, '[rebuild]')"
@ -51,4 +51,4 @@ jobs:
uses: actions/upload-artifact@v1 uses: actions/upload-artifact@v1
with: with:
name: abst_linux name: abst_linux
path: abst_linux path: abst_linux.zip

View File

@ -20,4 +20,7 @@ mkdir $output/game
cp $binary $output/game cp $binary $output/game
cp -Rv game/assets $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