diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index b248c1502..9fe1ea8fd 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -136,7 +136,7 @@ jobs: name: "Build, Test, Sonar Cloud Analysis, & Package" runs-on: windows-latest needs: Setup - if: ${{ success() && ( needs.Setup.outputs.HasChanged_src == 'true' ) }} + if: ${{ success() }} env: solution: '**/*.sln' buildPlatform: 'Any CPU' @@ -221,7 +221,7 @@ jobs: BuildDocs: name: "Build Documentation output" runs-on: ubuntu-latest - if: ${{ success() && ( needs.Setup.outputs.HasChanged_docs == 'true' ) }} + if: ${{ success() }} needs: [Setup] env: GitVersion_SemVer: ${{ needs.Setup.outputs.GitVersion_SemVer }} @@ -316,7 +316,7 @@ jobs: env: GitVersion_SemVer: ${{ needs.Setup.outputs.GitVersion_SemVer }} needs: [GitHubRelease, Setup] - if: ${{ success() && ( needs.Setup.outputs.nkdAgility_Ring != 'Canary' ) }} + if: ${{ success() && ( needs.Setup.outputs.nkdAgility_Ring != 'Canary' ) && (needs.Setup.outputs.HasChanged_src == 'true') }} steps: - name: Create Deployment on elmah.io uses: elmahio/github-create-deployment-action@v1 @@ -331,7 +331,7 @@ jobs: name: "Release to Marketplace" runs-on: ubuntu-latest needs: [Setup, GitHubRelease] - if: ${{ success() && ( needs.Setup.outputs.nkdAgility_Ring != 'Canary' ) && (needs.Setup.outputs.HasChanged_src) }} + if: ${{ success() && ( needs.Setup.outputs.nkdAgility_Ring != 'Canary' ) && (needs.Setup.outputs.HasChanged_src == 'true') }} steps: - name: Checkout uses: actions/checkout@v2 @@ -405,7 +405,7 @@ jobs: name: "Release to Docs" runs-on: ubuntu-latest needs: [Setup, BuildDocs, GitHubRelease] - if: ${{ success() && ( needs.Setup.outputs.nkdAgility_Ring != 'Canary' ) }} + if: ${{ success() && ( needs.Setup.outputs.nkdAgility_Ring != 'Canary' ) && (needs.Setup.outputs.HasChanged_docs == 'true') }} steps: - name: Download a single artifact uses: actions/download-artifact@v4