From 1c5387991633e62895f2dd4079040ce24d47d331 Mon Sep 17 00:00:00 2001 From: Minimata Date: Sun, 5 Apr 2026 09:18:29 +0200 Subject: [PATCH] remove the godot reinstallation which intereferes with the caching for some reason --- action.yml | 50 +++++++++++++++++++++++++------------------------- 1 file changed, 25 insertions(+), 25 deletions(-) diff --git a/action.yml b/action.yml index e30a56a..63eb588 100644 --- a/action.yml +++ b/action.yml @@ -45,35 +45,35 @@ runs: restore-keys: ${{ env.CACHE_NAME }} enableCrossOsArchive: true - - name: "Download and Install Godot ${{ inputs.godot-version }}-${{ inputs.godot-status }}" - if: steps.godot-cache-binary.outputs.cache-hit != 'true' - continue-on-error: false - shell: bash - run: | - mkdir -p ${{ inputs.install-path }} - chmod 770 ${{ inputs.install-path }} - DIR="$HOME/.config/godot" - if [ ! -d "$DIR" ]; then - mkdir -p "$DIR" - chmod 770 "$DIR" - fi + # - name: "Download and Install Godot ${{ inputs.godot-version }}-${{ inputs.godot-status }}" + # if: steps.godot-cache-binary.outputs.cache-hit != 'true' + # continue-on-error: false + # shell: bash + # run: | + # mkdir -p ${{ inputs.install-path }} + # chmod 770 ${{ inputs.install-path }} + # DIR="$HOME/.config/godot" + # if [ ! -d "$DIR" ]; then + # mkdir -p "$DIR" + # chmod 770 "$DIR" + # fi - DOWNLOAD_URL=https://github.com/godotengine/godot-builds/releases/download/${{ inputs.godot-version }}-${{ inputs.godot-status }} - GODOT_BIN=Godot_v${{ inputs.godot-version }}-${{ inputs.godot-status }}_mono_linux_x86_64 + # DOWNLOAD_URL=https://github.com/godotengine/godot-builds/releases/download/${{ inputs.godot-version }}-${{ inputs.godot-status }} + # GODOT_BIN=Godot_v${{ inputs.godot-version }}-${{ inputs.godot-status }}_mono_linux_x86_64 - GODOT_PACKAGE=$GODOT_BIN.zip - echo "Download URL: $DOWNLOAD_URL/$GODOT_PACKAGE" - wget --progress=bar:force:noscroll $DOWNLOAD_URL/$GODOT_PACKAGE -P ${{ inputs.install-path }} - unzip ${{ inputs.install-path }}/$GODOT_PACKAGE -d ${{ inputs.install-path }} - rm -rf ${{ inputs.install-path }}/$GODOT_PACKAGE + # GODOT_PACKAGE=$GODOT_BIN.zip + # echo "Download URL: $DOWNLOAD_URL/$GODOT_PACKAGE" + # wget --progress=bar:force:noscroll $DOWNLOAD_URL/$GODOT_PACKAGE -P ${{ inputs.install-path }} + # unzip ${{ inputs.install-path }}/$GODOT_PACKAGE -d ${{ inputs.install-path }} + # rm -rf ${{ inputs.install-path }}/$GODOT_PACKAGE - echo "Run linux part" - mv ${{ inputs.install-path }}/$GODOT_BIN/* ${{ inputs.install-path }} - rmdir ${{ inputs.install-path }}/$GODOT_BIN/ + # echo "Run linux part" + # mv ${{ inputs.install-path }}/$GODOT_BIN/* ${{ inputs.install-path }} + # rmdir ${{ inputs.install-path }}/$GODOT_BIN/ - mv ${{ inputs.install-path }}/Godot_v* ${{ inputs.install-path }}/godot - chmod u+x ${{ inputs.install-path }}/godot - echo "${{ inputs.install-path }}/godot" + # mv ${{ inputs.install-path }}/Godot_v* ${{ inputs.install-path }}/godot + # chmod u+x ${{ inputs.install-path }}/godot + # echo "${{ inputs.install-path }}/godot" - name: "print restored version - ${{ inputs.godot-version }}" shell: bash