diff --git a/.github/actions/gh-cache/save/action.yml b/.github/actions/gh-cache/save/action.yml index c32a202..9ecc2c9 100644 --- a/.github/actions/gh-cache/save/action.yml +++ b/.github/actions/gh-cache/save/action.yml @@ -64,6 +64,7 @@ runs: shell: bash run: | if [ -f "${{ inputs.path }}" ]; then + mkdir -p ".gh-cache-${{ github.run_id }}/$(dirname "${{ inputs.path }}")" cp -Rf "${{ inputs.path }}" ".gh-cache-${{ github.run_id }}/${{ inputs.path }}" echo "Copied '${{ inputs.path }}' to 'gh-cache' branch" fi