tools for exporting godot projects via Github Actions
Diffstat (limited to '.github/actions/export-mac/action.yml')
| -rw-r--r-- | .github/actions/export-mac/action.yml | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/.github/actions/export-mac/action.yml b/.github/actions/export-mac/action.yml index 1513a86..a6d9be7 100644 --- a/.github/actions/export-mac/action.yml +++ b/.github/actions/export-mac/action.yml @@ -7,15 +7,23 @@ runs: - name: Setup uses: bend-n/godot-actions/.github/actions/setup-godot@main + - name: Get export name + id: get-export-name + uses: bend-n/godot-actions/.github/actions/get-export-name@main + with: + platform: "Mac OSX" + - name: Mac Build + if: steps.get-export-name.outputs.export-name run: | echo "::group::Mac Build" mkdir -vp build/mac - godot -v --export "Mac" ./build/mac/$NAME.zip + godot -v --export "${{ steps.get-export-name.outputs.export-name }}" ./build/mac/$NAME.zip echo "::endgroup::" shell: bash - name: Upload + if: steps.get-export-name.outputs.export-name uses: actions/upload-artifact@v1 with: name: mac |