tools for exporting godot projects via Github Actions
Diffstat (limited to '.github/actions/export-windows/action.yml')
-rw-r--r--.github/actions/export-windows/action.yml5
1 files changed, 1 insertions, 4 deletions
diff --git a/.github/actions/export-windows/action.yml b/.github/actions/export-windows/action.yml
index bff93c0..2163e70 100644
--- a/.github/actions/export-windows/action.yml
+++ b/.github/actions/export-windows/action.yml
@@ -14,18 +14,16 @@ runs:
platform: "Windows Desktop"
- name: Windows Build
- if: steps.get-export-name.outputs.export-name
run: |
echo "::group::Windows Build"
export WINEPREFIX="$HOME/wineprefix"
mkdir "$WINEPREFIX" && chown -R "${USER}:" "$WINEPREFIX"
mkdir -p build/windows
- godot -v --export "${{ steps.get-export-name.outputs.export-name }}" ./build/windows/$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
- name: Add extra files
- if: steps.get-export-name.outputs.export-name
run: |
if [[ -f .github/post_export ]]; then
chmod +x .github/post_export
@@ -34,7 +32,6 @@ runs:
shell: bash
- name: Upload
- if: steps.get-export-name.outputs.export-name
uses: actions/upload-artifact@v3
with:
name: windows