mirror of
https://github.com/simonmichael/hledger.git
synced 2024-11-09 21:22:26 +03:00
ci: push/linux/mac/windows: fix ; conditional step execution
This commit is contained in:
parent
a54716778d
commit
a291f5d33b
2
.github/workflows/linux.yml
vendored
2
.github/workflows/linux.yml
vendored
@ -119,7 +119,7 @@ jobs:
|
||||
- name: Skip remaining CI steps if latest commit message begins with ;
|
||||
run: |
|
||||
git log -1 --pretty='%s' ${GITHUB_HEAD_REF:+origin/$GITHUB_HEAD_REF} \
|
||||
| grep -qE '^ *;' || echo “::set-env name=CONTINUE::true”
|
||||
| grep -qE '^ *;' || echo "CONTINUE=true" >> $GITHUB_ENV
|
||||
|
||||
# things to be cached/restored:
|
||||
|
||||
|
2
.github/workflows/mac.yml
vendored
2
.github/workflows/mac.yml
vendored
@ -76,7 +76,7 @@ jobs:
|
||||
- name: Skip remaining CI steps if latest commit message begins with ;
|
||||
run: |
|
||||
git log -1 --pretty='%s' ${GITHUB_HEAD_REF:+origin/$GITHUB_HEAD_REF} \
|
||||
| grep -qE '^ *;' || echo “::set-env name=CONTINUE::true”
|
||||
| grep -qE '^ *;' || echo "CONTINUE=true" >> $GITHUB_ENV
|
||||
|
||||
# things to be cached/restored:
|
||||
|
||||
|
2
.github/workflows/push.yml
vendored
2
.github/workflows/push.yml
vendored
@ -83,7 +83,7 @@ jobs:
|
||||
- name: Skip remaining CI steps if latest commit message begins with ;
|
||||
run: |
|
||||
git log -1 --pretty='%s' ${GITHUB_HEAD_REF:+origin/$GITHUB_HEAD_REF} \
|
||||
| grep -qE '^ *;' || echo “::set-env name=CONTINUE::true”
|
||||
| grep -qE '^ *;' || echo "CONTINUE=true" >> $GITHUB_ENV
|
||||
|
||||
# things to be cached/restored:
|
||||
|
||||
|
2
.github/workflows/windows.yml
vendored
2
.github/workflows/windows.yml
vendored
@ -71,7 +71,7 @@ jobs:
|
||||
shell: bash
|
||||
run: |
|
||||
git log -1 --pretty='%s' ${GITHUB_HEAD_REF:+origin/$GITHUB_HEAD_REF} \
|
||||
| grep -qE '^ *;' || echo “::set-env name=CONTINUE::true”
|
||||
| grep -qE '^ *;' || echo "CONTINUE=true" >> $GITHUB_ENV
|
||||
|
||||
# things to be cached/restored:
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user