Fix export name in build game script

soundtrack
Ensar Sarajčić 2021-11-17 21:41:16 +01:00
parent 97a121f476
commit bd8deef095
1 changed files with 3 additions and 7 deletions

View File

@ -55,17 +55,13 @@ jobs:
unzip Godot_v${GODOT_VERSION}-stable_export_templates.tpz unzip Godot_v${GODOT_VERSION}-stable_export_templates.tpz
mv templates/* ~/.local/share/godot/templates/${GODOT_VERSION}.stable/ mv templates/* ~/.local/share/godot/templates/${GODOT_VERSION}.stable/
- name: Build game - name: Build game
env:
EXPORT_DIR_NAME: ${{ matrix.target[0] }}
EXPORT_TARGET_NAME: ${{ matrix.target[1] }}
run: | run: |
mkdir -v -p build/$EXPORT_DIR_NAME mkdir -v -p build/mac
godot -v --export "$EXPORT_TARGET_NAME" godot -v --export "Mac OSX"
- name: Itch.io deploy - name: Itch.io deploy
env: env:
EXPORT_DIR_NAME: ${{ matrix.target[0] }}
ITCHIO_USERNAME: ${{ secrets.ITCHIO_USERNAME }} ITCHIO_USERNAME: ${{ secrets.ITCHIO_USERNAME }}
ITCHIO_GAME: ${{ secrets.ITCHIO_GAME }} ITCHIO_GAME: ${{ secrets.ITCHIO_GAME }}
BUTLER_API_KEY: ${{ secrets.BUTLER_API_KEY }} BUTLER_API_KEY: ${{ secrets.BUTLER_API_KEY }}
run: | run: |
butler push ./build/$EXPORT_DIR_NAME $ITCHIO_USERNAME/$ITCHIO_GAME:$EXPORT_DIR_NAME butler push ./build/mac $ITCHIO_USERNAME/$ITCHIO_GAME:$EXPORT_DIR_NAME