name: Build Godot Project1 on: push: tags: - "v*" jobs: godot: runs-on: ubuntu-latest strategy: matrix: include: - preset: linux export_file: batrix.x86_64 - preset: windows export_file: batrix.exe - preset: mac export_file: batrix.zip permissions: write-all steps: - uses: actions/checkout@v4 with: lfs: true - run: echo "version=${GITHUB_REF/refs\/tags\/v/}" >> $GITHUB_ENV - name: Export from Godot uses: mlm-games/godot-build-action@v1 with: BINARY_NAME: batrix EXPORT_PRESET_NAME: ${{ matrix.preset }} EXPORT_DIR: build - name: Zip uses: montudor/action-zip@v0.1.1 with: args: >- zip --junk-paths --recurse-paths build/batrix-${{ env.version }}-${{ matrix.preset }}.zip build/${{ matrix.preset }} - name: Release uses: akkuman/gitea-release-action@v1 with: files: build/*.zip