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