tools for exporting godot projects via Github Actions
`env.name` -> `env.NAME` (oops)
| -rw-r--r-- | .github/actions/export-android/action.yml | 4 | ||||
| -rw-r--r-- | .github/actions/export-linux/action.yml | 2 | ||||
| -rw-r--r-- | .github/actions/export-mac/action.yml | 2 | ||||
| -rw-r--r-- | .github/actions/export-windows/action.yml | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/.github/actions/export-android/action.yml b/.github/actions/export-android/action.yml index 87d7ec0..6b22f88 100644 --- a/.github/actions/export-android/action.yml +++ b/.github/actions/export-android/action.yml @@ -48,7 +48,7 @@ runs: alias=$(keytool -storepass "$password" -list -v -keystore ~/release.keystore | grep -E '^Alias name:\s*(.+)$' | cut -d ' ' -f 3-) && echo "Got alias name" sed "s@keystore/release=\"\"@keystore/release=\"$HOME/release.keystore\"@g" -i export_presets.cfg && sed 's@keystore/release_user=".*"@keystore/release_user="'$alias'"@g' -i export_presets.cfg && sed 's@keystore/release_password=".*"@keystore/release_password="'$password'"@g' -i export_presets.cfg && echo "Configured export_presets.cfg" mkdir -p build/android - godot -v --path "${{ env.PROJECT_PATH }}" --export "${{ steps.get-export-name.outputs.export-name }}" "$(realpath ./build/android/${{ env.name }}.apk)" + godot -v --path "${{ env.PROJECT_PATH }}" --export "${{ steps.get-export-name.outputs.export-name }}" "$(realpath ./build/android/${{ env.NAME }}.apk)" echo "::endgroup::" shell: bash @@ -57,7 +57,7 @@ runs: run: | echo "::group::Build android (debug)" mkdir -p build/android || true - godot -v --path "${{ env.PROJECT_PATH }}" --export-debug "${{ steps.get-export-name.outputs.export-name }}" "$(realpath ./build/android/${{ env.name }}.apk)" + godot -v --path "${{ env.PROJECT_PATH }}" --export-debug "${{ steps.get-export-name.outputs.export-name }}" "$(realpath ./build/android/${{ env.NAME }}.apk)" echo "::endgroup::" shell: bash diff --git a/.github/actions/export-linux/action.yml b/.github/actions/export-linux/action.yml index 163cb5c..3667c25 100644 --- a/.github/actions/export-linux/action.yml +++ b/.github/actions/export-linux/action.yml @@ -17,7 +17,7 @@ runs: run: | echo "::group::Linux Build" mkdir -vp build/linux - godot -v --path "${{ env.PROJECT_PATH }}" --export "${{ steps.get-export-name.outputs.export-name }}" "$(realpath ./build/linux/${{ env.name }}.x86_64)" + godot -v --path "${{ env.PROJECT_PATH }}" --export "${{ steps.get-export-name.outputs.export-name }}" "$(realpath ./build/linux/${{ env.NAME }}.x86_64)" echo "::endgroup::" shell: bash diff --git a/.github/actions/export-mac/action.yml b/.github/actions/export-mac/action.yml index 5e560b1..99401c3 100644 --- a/.github/actions/export-mac/action.yml +++ b/.github/actions/export-mac/action.yml @@ -17,7 +17,7 @@ runs: run: | echo "::group::Mac Build" mkdir -vp build/mac - godot -v --path "${{ env.PROJECT_PATH }}" --export "${{ steps.get-export-name.outputs.export-name }}" "$(realpath ./build/mac/${{ env.name }}.zip)" + godot -v --path "${{ env.PROJECT_PATH }}" --export "${{ steps.get-export-name.outputs.export-name }}" "$(realpath ./build/mac/${{ env.NAME }}.zip)" echo "::endgroup::" shell: bash diff --git a/.github/actions/export-windows/action.yml b/.github/actions/export-windows/action.yml index 2163e70..8342ab4 100644 --- a/.github/actions/export-windows/action.yml +++ b/.github/actions/export-windows/action.yml @@ -19,7 +19,7 @@ runs: export WINEPREFIX="$HOME/wineprefix" mkdir "$WINEPREFIX" && chown -R "${USER}:" "$WINEPREFIX" mkdir -p build/windows - godot -v --path "${{ env.PROJECT_PATH }}" --export "${{ steps.get-export-name.outputs.export-name }}" "$(realpath ./build/windows/${{ env.name }}.exe)" + godot -v --path "${{ env.PROJECT_PATH }}" --export "${{ steps.get-export-name.outputs.export-name }}" "$(realpath ./build/windows/${{ env.NAME }}.exe)" echo "::endgroup::" shell: bash |