diff --git a/action.yml b/action.yml index dbabeed..e30a56a 100644 --- a/action.yml +++ b/action.yml @@ -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 }}"