mirror of
https://github.com/Alfresco/alfresco-sdk.git
synced 2025-05-19 17:15:24 +00:00
ACS-3750 Fix cancelled workflow condition (#649)
This commit is contained in:
parent
515d23de2c
commit
693fde6285
8
.github/workflows/ci.yml
vendored
8
.github/workflows/ci.yml
vendored
@ -45,7 +45,9 @@ jobs:
|
||||
name: ${{ matrix.name }}
|
||||
runs-on: ubuntu-latest
|
||||
needs: [build]
|
||||
if: "!contains(github.event.head_commit.message, '[skip tests]')"
|
||||
if: >
|
||||
!(failure() || cancelled()) &&
|
||||
!contains(github.event.head_commit.message, '[skip tests]')
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
@ -108,7 +110,9 @@ jobs:
|
||||
name: "Publish artifacts"
|
||||
runs-on: ubuntu-latest
|
||||
needs: [tests]
|
||||
if: github.event_name != 'pull_request'
|
||||
if: >
|
||||
!(failure() || cancelled()) &&
|
||||
github.event_name != 'pull_request'
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v1.35.0
|
||||
|
Loading…
x
Reference in New Issue
Block a user