Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 7834a31

Browse files
committed
REVERT: use non capturing group
1 parent 1a01149 commit 7834a31

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
- uses: nelonoel/branch-name@v1
1212
- name: Echo week folder
1313
run: |
14-
export WEEK_FOLDER=$(echo ${BRANCH_NAME} | sed -E 's/.*w(?:eek)?[-_]?([0-9]).*/Week\1/gi')
14+
export WEEK_FOLDER=$(echo ${BRANCH_NAME} | sed -E 's/.*w(eek)?[-_]?([0-9]).*/Week\2/gi')
1515
echo ${WEEK_FOLDER}
1616
- uses: actions/setup-node@v1
1717
with:

0 commit comments

Comments
 (0)