From 53653ae5cae09ff0ec63b0a6341c357715646acf Mon Sep 17 00:00:00 2001 From: vaporvee <80621863+cmod31@users.noreply.github.com> Date: Mon, 14 Nov 2022 20:53:30 +0100 Subject: [PATCH] new try for github actions --- .github/workflows/godot-ci.yml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .github/workflows/godot-ci.yml diff --git a/.github/workflows/godot-ci.yml b/.github/workflows/godot-ci.yml new file mode 100644 index 0000000..aa18863 --- /dev/null +++ b/.github/workflows/godot-ci.yml @@ -0,0 +1,32 @@ +name: "godot-ci export" +on: push + +env: + GODOT_VERSION: 3.5.1 + EXPORT_NAME: RPG-Test + +jobs: + export-windows: + name: Windows Export + runs-on: ubuntu-20.04 + container: + image: barichello/godot-ci:mono-3.5.1 + steps: + - name: Checkout + uses: actions/checkout@v2 + with: + lfs: true + - name: Setup + run: | + mkdir -v -p ~/.local/share/godot/templates + mv /root/.local/share/godot/templates/${GODOT_VERSION}.stable ~/.local/share/godot/templates/${GODOT_VERSION}.stable + - name: Windows Build + run: | + mkdir -v -p build/windows + cd $EXPORT_NAME + godot -v --export "Windows Desktop" ../build/windows/$EXPORT_NAME.exe + - name: Upload Artifact + uses: actions/upload-artifact@v1 + with: + name: windows + path: build/windows