Skip to content

Commit 96cab59

Browse files
committed
fix: Copy directory contents
1 parent e879f9c commit 96cab59

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/actions/gh-cache/cache/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ runs:
2727
- name: Make sub-actions referenceable
2828
working-directory: ${{ github.action_path }}
2929
shell: bash
30-
run: cp -Rf $(realpath ../) /home/runner/work/_actions/current
30+
run: cp -Rf "$(realpath ../)"/* /home/runner/work/_actions/current
3131
- name: Restore cached value
3232
uses: ./../../_actions/current/.github/actions/gh-cache/restore
3333
with:

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ runs:
4343
- name: Make sub-actions referenceable
4444
working-directory: ${{ github.action_path }}
4545
shell: bash
46-
run: cp -Rf $(realpath ../) /home/runner/work/_actions/current
46+
run: cp -Rf "$(realpath ../)"/* /home/runner/work/_actions/current
4747
- name: Restore cached results
4848
id: restore
4949
uses: ./../../_actions/current/.github/actions/gh-cache/cache

0 commit comments

Comments
 (0)