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 - uses: actions/checkout@v6 with: lfs: true # Cache - name: cache uses: actions/cache@v5 with: path: assets key: Assets-${{ hashFiles('assets/**') }} restore-keys: | Assets- - name: Setup dotnet uses: actions/setup-dotnet@v5 with: dotnet-version: '9.0.x' - name: Launch Godot uses: godot-gdunit-labs/gdUnit4-action@v1 with: godot-version: '4.5.1' godot-net: true version: 'v6.0.3' paths: | res://tests/ timeout: 1 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