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

This commit is contained in:
Snoweuph 2023-04-05 07:30:50 +00:00
parent f03336cde7
commit c7e9a9f1cd

View file

@ -14,19 +14,21 @@ jobs:
apt update -y && apt upgrade -y apt update -y && apt upgrade -y
apt install -y wine64 nodejs p7zip-full ca-certificates tree apt install -y wine64 nodejs p7zip-full ca-certificates tree
echo "WINE_PATH=$(which wine64)" >> $GITHUB_OUTPUT echo "WINE_PATH=$(which wine64)" >> $GITHUB_OUTPUT
- name: export game - name: setup godot build libs
id: export run: |
uses: https://github.com/firebelley/godot-export@v5.0.0 wget -nv https://downloads.tuxfamily.org/godotengine/4.0/Godot_v4.0-stable_linux.x86_64.zip -O /root/.local/share/godot/godot.zip
timeout-minutes: 30 wget -nv https://downloads.tuxfamily.org/godotengine/4.0/Godot_v4.0-stable_export_templates.tpz -O /root/.local/share/godot/godot_templates.tpz
with: 7z x /root/.local/share/godot/godot.zip -o/root/.local/share/godot/godot_executable -y
godot_executable_download_url: https://downloads.tuxfamily.org/godotengine/4.0/Godot_v4.0-stable_linux.x86_64.zip chmod +x /root/.local/share/godot/godot_executable/Godot_v4.0-stable_linux.x86_64
godot_export_templates_download_url: https://downloads.tuxfamily.org/godotengine/4.0/Godot_v4.0-stable_export_templates.tpz unzip /root/.local/share/godot/godot_templates.tpz -d /root/.local/share/godot
relative_project_path: ./ mv /root/.local/share/godot/templates /root/.local/share/godot/4.0.stable
use_preset_export_path: false mv /root/.local/share/godot/4.0.stable /root/.local/share/godot/export_templates
relative_export_path: ./builds # move export output to this directory relative to git root /root/.local/share/godot/godot_executable/Godot_v4.0-stable_linux.x86_64 --version
archive_output: false pwd
verbose: false - name: setup Build Folders
wine_path: ${{ steps.wine_install.outputs.WINE_PATH }} run: mkdir -p ./builds/linux
- name: export for linux
run: /root/.local/share/godot/godot_executable/Godot_v4.0-stable_linux.x86_64 /var/lib/actions/project.godot --headless --export-release Linux/X11 ./builds/linux
- name: print info - name: print info
run: | run: |
ls ls