Skip to content
This repository was archived by the owner on May 14, 2024. It is now read-only.
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
use head_ref
  • Loading branch information
wilgert committed Feb 1, 2020
commit 3b0dde082b99f372b45d777bd11291230cebe128
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Echo week folder and run tests
run: |
echo ${{github.repository}}
echo ${{github.ref}}
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')
echo Week: ${WEEK}
npm run test-${WEEK}