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 - name: Checkout with LFS uses: https://git.game-dev.space/minimata/checkout-with-lfs.git@main with: checkout-version: 3 # Cache # - uses: actions/cache@v3 # with: # path: assets # key: Assets-${{ hashFiles('**') }} # restore-keys: | # Assets- - name: Setup dotnet uses: actions/setup-dotnet@v5 with: dotnet-version: '8.0.x' - 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