Skip to content
This repository was archived by the owner on Nov 8, 2024. It is now read-only.

Commit ad6b0df

Browse files
author
Natalie
committed
chore(gh-actions): copy artifacts to /lib
1 parent a82f9fc commit ad6b0df

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/run-test.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,13 @@ jobs:
5757
name: drafter
5858

5959

60-
- run: cp -n -R /Users/runner/work/drafter.js/drafter.js/* /lib
60+
- run: |
61+
if [[ $(pwd) =~ ^/Users ]]; then
62+
LOCAL_PATH=/Users/runner/work/drafter.js
63+
else
64+
LOCAL_PATH=/home/runner/work/drafter.js
65+
fi
66+
cp -n -R "$(echo $LOCAL_PATH)/drafter.js/" "$(echo $LOCAL_PATH)/lib"
6167
- run: npm install
6268
- uses: actions/setup-python@v2
6369
with:

0 commit comments

Comments
 (0)