Thanks to visit codestin.com Credit goes to github.com
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 e831675 commit 3b0dde0Copy full SHA for 3b0dde0
.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