change workflow action
Some checks failed
Build Godot Project1 / godot (batrix.exe, windows) (push) Failing after 13s
Build Godot Project1 / godot (batrix.x86_64, linux) (push) Failing after 4s
Build Godot Project1 / godot (batrix.zip, mac) (push) Failing after 2s

This commit is contained in:
Teatov 2025-03-06 20:57:40 +10:00
parent bc03ffcc4c
commit a1fd339bc8

View File

@ -24,18 +24,19 @@ jobs:
lfs: true
- run: echo "version=${GITHUB_REF/refs\/tags\/v/}" >> $GITHUB_ENV
- name: Export ${{ matrix.preset }} from Godot
uses: robpc/godot-export-action@v4.3
uses: mlm-games/build-godot-action@v1
with:
preset: ${{ matrix.preset }}
export_path: build/${{ matrix.preset }}/${{ matrix.export_file }}
BINARY_NAME: batrix
EXPORT_PRESET_NAME: ${{ matrix.preset }}
GODOT_VER: 4.4
- name: Bundle ${{ matrix.preset }} export
uses: montudor/action-zip@v0.1.1
with:
args: >-
zip --junk-paths --recurse-paths
build/batrix-${{ env.version }}-${{ matrix.preset }}.zip
build/${{ matrix.preset }}
builds/batrix-${{ env.version }}-${{ matrix.preset }}.zip
builds/${{ matrix.preset }}
- name: Release
uses: akkuman/gitea-release-action@v1
with:
files: build/*.zip
files: builds/*.zip