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

Commit 08d7954

Browse files
committed
use head_ref
1 parent 4b56229 commit 08d7954

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- name: Echo week folder and run tests
1717
run: |
1818
echo ${{github.repository}}
19-
echo ${{github.ref}}
20-
export WEEK=$(echo ${{github.ref}} | sed -E 's/.*w(eek)?[-_]?([0-9]).*/week\2/gi')
19+
echo ${{github.head_ref}}
20+
export WEEK=$(echo ${{github.head_ref}} | sed -E 's/.*w(eek)?[-_]?([0-9]).*/week\2/gi')
2121
echo Week: ${WEEK}
2222
npm run test-${WEEK}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy