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 steps: - name: Install node, curl and zip run: | apt update && apt -y install curl zip nodejs - uses: actions/checkout@v6 with: lfs: true # Cache # - uses: actions/cache@v3 # with: # path: assets # key: Assets-${{ hashFiles('**') }} # restore-keys: | # Assets- - uses: godot-gdunit-labs/gdUnit4-action@v1 with: godot-version: '4.5.1' godot-net: true version: 'v6.0.3' paths: | res://tests/ timeout: 5 report-name: test_report.xml - name: Build Windows run: | mkdir -v -p build/windows godot --headless --verbose --build-solutions --export-release "Windows Desktop" build/windows/${{ env.GAME_NAME }}.exe