mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-05-09 00:15:13 -04:00
Use rsync to copy data.
This commit is contained in:
parent
0ffcc322fb
commit
9117d69f17
2 changed files with 4 additions and 0 deletions
1
.github/workflows/windows.yml
vendored
1
.github/workflows/windows.yml
vendored
|
@ -27,6 +27,7 @@ jobs:
|
||||||
path-type: inherit
|
path-type: inherit
|
||||||
install: >-
|
install: >-
|
||||||
zip
|
zip
|
||||||
|
rsync
|
||||||
-
|
-
|
||||||
name: Checkout repository
|
name: Checkout repository
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
|
@ -33,6 +33,9 @@ try export GIT_WORK_TREE=${TMP_FOLDER}; git checkout HEAD -f \
|
||||||
|| fatal "failed to copy etherpad to temporary folder"
|
|| fatal "failed to copy etherpad to temporary folder"
|
||||||
try mkdir "${TMP_FOLDER}"/.git
|
try mkdir "${TMP_FOLDER}"/.git
|
||||||
try git rev-parse HEAD >${TMP_FOLDER}/.git/HEAD
|
try git rev-parse HEAD >${TMP_FOLDER}/.git/HEAD
|
||||||
|
try cp -r src/package.json src/package-lock.json "${TMP_FOLDER}"
|
||||||
|
try rsync -a ./src/node_modules "${TMP_FOLDER}"/src/
|
||||||
|
|
||||||
try cd "${TMP_FOLDER}"
|
try cd "${TMP_FOLDER}"
|
||||||
[ -f src/package.json ] || fatal "failed to copy etherpad to temporary folder"
|
[ -f src/package.json ] || fatal "failed to copy etherpad to temporary folder"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue