From cf95fc7abf9ce0614cf4c7d708b4a962c12fa882 Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Wed, 18 Aug 2021 21:47:01 -1000 Subject: [PATCH] ci: tweak --- .github/workflows/linux.yml | 4 ++-- .github/workflows/mac.yml | 4 ++-- .github/workflows/push.yml | 4 ++-- .github/workflows/windows.yml | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 4921e35f5..80f7a3d56 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -119,8 +119,8 @@ jobs: - name: Skip remaining CI steps if latest commit message begins with ; run: | echo "git log -1 --pretty='%s' ${GITHUB_HEAD_REF:+origin/$GITHUB_HEAD_REF} >> $$.gitlog" - (git log -1 --pretty='%s' ${GITHUB_HEAD_REF:+origin/$GITHUB_HEAD_REF} >> $$.gitlog - && (grep -qE '^ *;' $$.gitlog || echo "CONTINUE=true" >> $GITHUB_ENV)) + (git log -1 --pretty='%s' ${GITHUB_HEAD_REF:+origin/$GITHUB_HEAD_REF} >> $$.gitlog \ + && (grep -qE '^ *;' $$.gitlog || echo "CONTINUE=true" >> $GITHUB_ENV)) \ || ( echo "could not identify commit range, continuing CI steps") # things to be cached/restored: diff --git a/.github/workflows/mac.yml b/.github/workflows/mac.yml index 350acdb98..82888d7bc 100644 --- a/.github/workflows/mac.yml +++ b/.github/workflows/mac.yml @@ -76,8 +76,8 @@ jobs: - name: Skip remaining CI steps if latest commit message begins with ; run: | echo "git log -1 --pretty='%s' ${GITHUB_HEAD_REF:+origin/$GITHUB_HEAD_REF} >> $$.gitlog" - (git log -1 --pretty='%s' ${GITHUB_HEAD_REF:+origin/$GITHUB_HEAD_REF} >> $$.gitlog - && (grep -qE '^ *;' $$.gitlog || echo "CONTINUE=true" >> $GITHUB_ENV)) + (git log -1 --pretty='%s' ${GITHUB_HEAD_REF:+origin/$GITHUB_HEAD_REF} >> $$.gitlog \ + && (grep -qE '^ *;' $$.gitlog || echo "CONTINUE=true" >> $GITHUB_ENV)) \ || ( echo "could not identify commit range, continuing CI steps") # things to be cached/restored: diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 1b8a11827..1ba1d9619 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -87,8 +87,8 @@ jobs: - name: Skip remaining CI steps if latest commit message begins with ; run: | echo "git log -1 --pretty='%s' ${GITHUB_HEAD_REF:+origin/$GITHUB_HEAD_REF} >> $$.gitlog" - (git log -1 --pretty='%s' ${GITHUB_HEAD_REF:+origin/$GITHUB_HEAD_REF} >> $$.gitlog - && (grep -qE '^ *;' $$.gitlog || echo "CONTINUE=true" >> $GITHUB_ENV)) + (git log -1 --pretty='%s' ${GITHUB_HEAD_REF:+origin/$GITHUB_HEAD_REF} >> $$.gitlog \ + && (grep -qE '^ *;' $$.gitlog || echo "CONTINUE=true" >> $GITHUB_ENV)) \ || ( echo "could not identify commit range, continuing CI steps") # things to be cached/restored: diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index ce5b35374..ee6d5a51f 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -70,8 +70,8 @@ jobs: - name: Skip remaining CI steps if latest commit message begins with ; run: | echo "git log -1 --pretty='%s' ${GITHUB_HEAD_REF:+origin/$GITHUB_HEAD_REF} >> $$.gitlog" - (git log -1 --pretty='%s' ${GITHUB_HEAD_REF:+origin/$GITHUB_HEAD_REF} >> $$.gitlog - && (grep -qE '^ *;' $$.gitlog || echo "CONTINUE=true" >> $GITHUB_ENV)) + (git log -1 --pretty='%s' ${GITHUB_HEAD_REF:+origin/$GITHUB_HEAD_REF} >> $$.gitlog \ + && (grep -qE '^ *;' $$.gitlog || echo "CONTINUE=true" >> $GITHUB_ENV)) \ || ( echo "could not identify commit range, continuing CI steps") # things to be cached/restored: