Skip to content

Commit

Permalink
fix(test): fix parameter name for copying
Browse files Browse the repository at this point in the history
  • Loading branch information
massimoschembri committed Jan 3, 2024
1 parent 8df91a3 commit bca17fc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/test-local-action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ jobs:
upstream_repo: sysdiglabs/kube-psp-advisor
local_patch_dir: tests/sysdiglabs/kube-psp-advisor
upstream_ref: master
upstream_copy_src: |
upstream_copy: |
generator tests/kube-psp-advisor
- name: Assert that files are copied
id: test-copy
Expand Down
1 change: 1 addition & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -119,5 +119,6 @@ runs:
for mapping in ${MAPPINGS}; do
SRC=$(echo "$mapping" | awk '{print $1}')
DST=$(echo "$mapping" | awk '{print $2}')
echo Copying from ${SRC} to ${DST}
cp -Rv "upstream/${SRC}/*" "${DST}/"
done

0 comments on commit bca17fc

Please sign in to comment.