We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4b56229 commit 08d7954Copy full SHA for 08d7954
1 file changed
.github/workflows/main.yml
@@ -16,7 +16,7 @@ jobs:
16
- name: Echo week folder and run tests
17
run: |
18
echo ${{github.repository}}
19
- echo ${{github.ref}}
20
- export WEEK=$(echo ${{github.ref}} | sed -E 's/.*w(eek)?[-_]?([0-9]).*/week\2/gi')
+ echo ${{github.head_ref}}
+ export WEEK=$(echo ${{github.head_ref}} | sed -E 's/.*w(eek)?[-_]?([0-9]).*/week\2/gi')
21
echo Week: ${WEEK}
22
npm run test-${WEEK}
0 commit comments