We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 22655a5 commit 28ccb7fCopy full SHA for 28ccb7f
.github/actions/gh-cache/save/action.yml
@@ -33,7 +33,9 @@ runs:
33
- name: Copy file to repo
34
shell: bash
35
run: |
36
- cp -Rf "${{ inputs.path }}" ".gh-cache-${{ github.run_id }}/${{ inputs.path }}"
+ if [ -e "${{ inputs.path }}" ]; then
37
+ cp -Rf "${{ inputs.path }}" ".gh-cache-${{ github.run_id }}/${{ inputs.path }}"
38
+ fi
39
40
- name: Commit and push
41
0 commit comments