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

Skip to content

Commit e50e6db

Browse files
committed
echo
1 parent b177b2f commit e50e6db

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@ 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'
14-
- name: Run a multi-line script
1513
run: |
16-
echo Add other actions to build,
17-
echo test, and deploy your project.
14+
export WEEK_FOLDER=$(echo ${BRANCH_NAME} | sed -E 's/.*w(eek)?[-_]?([0-9]).*/Week\2/gi')
15+
echo ${WEEK_FOLDER}

0 commit comments

Comments
 (0)