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.yml20
1 files changed, 20 insertions, 0 deletions
diff --git a/.github/actions/export-mac/action.yml b/.github/actions/export-mac/action.yml
new file mode 100644
index 0000000..fa88643
--- /dev/null
+++ b/.github/actions/export-mac/action.yml
@@ -0,0 +1,20 @@
+name: Mac export
+description: Mac export
+
+runs:
+ using: composite
+ steps:
+ - name: Setup
+ uses: bend-n/godot-actions/.github/actions/setup-godot@main
+
+ - name: Build
+ run: |
+ mkdir -vp build/mac
+ godot -v --export "Mac" ./build/mac/$NAME.zip
+ shell: bash
+
+ - name: Upload
+ uses: actions/upload-artifact@v1
+ with:
+ name: mac
+ path: build/mac