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

Skip to content

Commit b177b2f

Browse files
committed
add pipe
1 parent f1d5462 commit b177b2f

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
@@ -10,7 +10,7 @@ jobs:
1010
- uses: actions/checkout@v2
1111
- uses: nelonoel/branch-name@v1
1212
- name: Echo week folder
13-
run: echo ${BRANCH_NAME} sed -E 's/.*w(eek)?[-_]?([0-9]).*/Week\2/gi'
13+
run: echo ${BRANCH_NAME} | sed -E 's/.*w(eek)?[-_]?([0-9]).*/Week\2/gi'
1414
- name: Run a multi-line script
1515
run: |
1616
echo Add other actions to build,

0 commit comments

Comments
 (0)