„.gitea/workflows/build.yml“ ändern
Some checks failed
Export Game Job

This commit is contained in:
Snoweuph 2023-04-05 07:14:19 +00:00
parent c6694158ab
commit 689eddae1a

View file

@ -14,12 +14,6 @@ jobs:
apt update -y && apt upgrade -y apt update -y && apt upgrade -y
apt install -y wine64 nodejs p7zip-full ca-certificates apt install -y wine64 nodejs p7zip-full ca-certificates
echo "WINE_PATH=$(which wine64)" >> $GITHUB_OUTPUT echo "WINE_PATH=$(which wine64)" >> $GITHUB_OUTPUT
- name: download build libs
run: |
mkdir -p /root/.local/share/godot/
mkdir -p ~/build
wget -nv https://downloads.tuxfamily.org/godotengine/4.0/Godot_v4.0-stable_linux.x86_64.zip -O /root/.local/share/godot/godot.zip
wget -nv https://downloads.tuxfamily.org/godotengine/4.0/Godot_v4.0-stable_export_templates.tpz -O /root/.local/share/godot/godot_templates.tpz
- name: export game - name: export game
id: export id: export
uses: https://github.com/firebelley/godot-export@v5.0.0 uses: https://github.com/firebelley/godot-export@v5.0.0
@ -28,15 +22,17 @@ jobs:
godot_executable_download_url: https://downloads.tuxfamily.org/godotengine/4.0/Godot_v4.0-stable_linux.x86_64.zip godot_executable_download_url: https://downloads.tuxfamily.org/godotengine/4.0/Godot_v4.0-stable_linux.x86_64.zip
godot_export_templates_download_url: https://downloads.tuxfamily.org/godotengine/4.0/Godot_v4.0-stable_export_templates.tpz godot_export_templates_download_url: https://downloads.tuxfamily.org/godotengine/4.0/Godot_v4.0-stable_export_templates.tpz
relative_project_path: ./ relative_project_path: ./
use_preset_export_path: false
relative_export_path: ./build # move export output to this directory relative to git root relative_export_path: ./build # move export output to this directory relative to git root
archive_output: true archive_output: false
verbose: true verbose: false
wine_path: ${{ steps.wine_install.outputs.WINE_PATH }} wine_path: ${{ steps.wine_install.outputs.WINE_PATH }}
- name: print info - name: print info
run: | run: |
cd
ls ls
du -sh * du -sh *
echo "---"
tree /root/.local/share/godot/
- name: create release - name: create release
uses: https://github.com/ncipollo/release-action@v1 uses: https://github.com/ncipollo/release-action@v1
with: with: