Skip to content
This repository was archived by the owner on May 14, 2024. It is now read-only.

Commit 419c3e8

Browse files
committed
grep weeknumber
1 parent deb24f9 commit 419c3e8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ jobs:
88

99
steps:
1010
- uses: actions/checkout@v2
11+
- uses: nelonoel/branch-name@v1
1112
- name: Run a one-line script
1213
run: echo Hello, world!
13-
- uses: nelonoel/branch-name@v1
14-
- run: echo ${BRANCH_NAME}
14+
- run: echo ${BRANCH_NAME} | grep -P -q '/w(?:eek)?[-_]?(\d{1})/'
1515
- name: Run a multi-line script
1616
run: |
1717
echo Add other actions to build,

0 commit comments

Comments
 (0)