Unverified Commit 693fde62 authored by Domenico Sibilio's avatar Domenico Sibilio Committed by GitHub
Browse files

ACS-3750 Fix cancelled workflow condition (#649)

parent 515d23de
Loading
Loading
Loading
Loading
+6 −2
Original line number Diff line number Diff line
@@ -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