put the godot installation right in the main action file

This commit is contained in:
2026-03-08 10:25:05 +01:00
parent dbbbbd8379
commit 3be0674d62

View File

@@ -40,7 +40,7 @@ runs:
uses: actions/cache@v5
id: godot-cache-binary
with:
path: "/home/runner/godot-linux"
path: ${{ inputs.install-path }}
key: ${{ env.CACHE_NAME }}
restore-keys: ${{ env.CACHE_NAME }}
enableCrossOsArchive: true
@@ -78,7 +78,7 @@ runs:
- name: "print restored version - ${{ inputs.godot-version }}"
shell: bash
run: |
/home/runner/godot-linux/godot --version
${{ inputs.install-path }}/godot --version
- name: "Set .NET SDK version"
if: ${{ !cancelled() }}
@@ -107,7 +107,7 @@ runs:
- name: "Restore Godot project cache"
if: ${{ !cancelled() }}
env:
GODOT_BIN: "/home/runner/godot-linux/godot"
GODOT_BIN: "${{ inputs.install-path }}/godot"
shell: bash
run: |
cd "${{ inputs.project_dir }}"