Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b177b2f commit e50e6dbCopy full SHA for e50e6db
.github/workflows/main.yml
@@ -10,8 +10,6 @@ jobs:
10
- uses: actions/checkout@v2
11
- uses: nelonoel/branch-name@v1
12
- 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
15
run: |
16
- echo Add other actions to build,
17
- echo test, and deploy your project.
+ export WEEK_FOLDER=$(echo ${BRANCH_NAME} | sed -E 's/.*w(eek)?[-_]?([0-9]).*/Week\2/gi')
+ echo ${WEEK_FOLDER}
0 commit comments