mirror of
https://github.com/canastro/copy-action.git
synced 2024-11-23 15:03:51 +08:00
Allow files with spaces (#12)
This commit is contained in:
parent
6bae380f8f
commit
ae66602ce7
6
.github/workflows/main.yml
vendored
6
.github/workflows/main.yml
vendored
@ -17,3 +17,9 @@ jobs:
|
|||||||
source: "tests/a.txt"
|
source: "tests/a.txt"
|
||||||
target: "test-a.txt"
|
target: "test-a.txt"
|
||||||
flags: "-f"
|
flags: "-f"
|
||||||
|
- name: copy file with spaces
|
||||||
|
uses: canastro/copy-file-action@master
|
||||||
|
with:
|
||||||
|
source: "tests/path with spaces.txt"
|
||||||
|
target: "path-without-spaces.txt"
|
||||||
|
|
@ -1,3 +1,3 @@
|
|||||||
#!/bin/sh -l
|
#!/bin/sh -l
|
||||||
|
|
||||||
cp $1 $2 $3
|
cp $1 "$2" "$3"
|
1
tests/path with spaces.txt
Normal file
1
tests/path with spaces.txt
Normal file
@ -0,0 +1 @@
|
|||||||
|
Test file for copying a file with spaces in its path
|
Loading…
Reference in New Issue
Block a user