completely change the way everyhting wokrs
Some checks failed
CI / build (push) Failing after 31s

This commit is contained in:
ultrablob 2025-02-03 20:34:34 -05:00
parent cb53d7dada
commit 150090ceef

View file

@ -28,24 +28,24 @@ jobs:
# Steps represent a sequence of tasks that will be executed as part of the job # Steps represent a sequence of tasks that will be executed as part of the job
steps: steps:
- run: sudo apt update && sudo apt install -y p7zip-full p7zip-rar
name: Install 7zip
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2 - uses: actions/checkout@v2
name: Checkout files name: Checkout Files
- name: export game - uses: chickensoft-games/setup-godot@v1
id: export name: Setup Godot
# Use latest version (see releases for all versions)
uses: https://github.com/firebelley/godot-export@v6.0.0
with: with:
godot_executable_download_url: https://github.com/godotengine/godot/releases/download/${{ env.GODOT_VERSION }}-${{ env.GODOT_BUILD }}/Godot_v${{ env.GODOT_VERSION }}-${{ env.GODOT_BUILD }}_linux.arm64.zip version: 4.3-stable
godot_export_templates_download_url: https://github.com/godotengine/godot/releases/download/${{ env.GODOT_VERSION }}-${{ env.GODOT_BUILD }}/Godot_v${{ env.GODOT_VERSION }}-${{ env.GODOT_BUILD }}_export_templates.tpz
relative_project_path: ./ - name: Build Gaame
run: |
- name: Upload build mkdir -v -p build/web
EXPORT_DIR="$(readlink -f build)"
cd $PROJECT_PATH
godot --headless --verbose --export-release "Web" "$EXPORT_DIR/web/index.html"
- name: Upload Build
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4
with: with:
name: Game files name: Web Build
path: ${{ steps.export.outputs.build_directory }} path: build/web