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

Commit 1f99c09

Browse files
committed
use sed -E plus substitution
1 parent 6929809 commit 1f99c09

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: Run a one-line script
1313
run: echo Hello, world!
14-
- run: echo ${BRANCH_NAME} | sed 's/w(?:eek)?[-_]?(\d{1})/'
14+
- run: echo ${BRANCH_NAME} sed -E 's/.*w(eek)?[-_]?([0-9]).*/Week\2/gi'
1515
- name: Run a multi-line script
1616
run: |
1717
echo Add other actions to build,

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy