From cb2d7e35ce4cca91cdbf9af6de4505153edd15e2 Mon Sep 17 00:00:00 2001 From: Minimata Date: Sun, 25 Jan 2026 09:46:52 +0100 Subject: [PATCH] dev branch workflow --- .gitea/workflows/dev-branch.yaml | 40 ++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 .gitea/workflows/dev-branch.yaml diff --git a/.gitea/workflows/dev-branch.yaml b/.gitea/workflows/dev-branch.yaml new file mode 100644 index 00000000..525f41d6 --- /dev/null +++ b/.gitea/workflows/dev-branch.yaml @@ -0,0 +1,40 @@ +name: Create tag and build when new code gets to main +run-name: Create tag and build when new code gets to main +on: + push: + branches: + - '**' # matches every branch + - '!main' # except main + - '!release/*' # except release branches + tags-ignore: + - "**" + +env: + GAME_NAME: MovementTests + ITCHIO_USERNAME: Minimata + ITCHIO_GAMEID: MovementTests + +jobs: + Export: + runs-on: ubuntu-latest + needs: BumpTag + container: + image: barichello/godot-ci:mono-4.5 + + steps: + - name: Install node, curl and zip + run: | + apt update && apt -y install curl zip nodejs + - name: Checkout with LFS + uses: https://git.game-dev.space/minimata/checkout-with-lfs.git@main + with: + checkout-version: 3 + + - name: Import resources and build solution + run: | + godot --headless --editor --build-solutions --quit --import --path $PWD + + - name: Build Windows + run: | + mkdir -v -p build/windows + godot --headless --verbose --build-solutions --export-release "Windows Desktop" build/windows/${{ env.GAME_NAME }}.exe \ No newline at end of file