diff --git a/.github/workflows/build-reusable.yml b/.github/workflows/build-reusable.yml index 2e05fba..87994b9 100644 --- a/.github/workflows/build-reusable.yml +++ b/.github/workflows/build-reusable.yml @@ -252,14 +252,24 @@ jobs: id-token: write needs: - CodeQualityAnalysis-Test - #- DownloadTestSdist - #- DownloadTestWheelsPure - #- PackageWheelsNonPure - #- PackageWheelsPure - #- PackageSdist + - DownloadTestSdist + - DownloadTestWheelsPure + - PackageWheelsNonPure + - PackageWheelsPure + - PackageSdist runs-on: windows-2019 - #if: contains(fromJSON('["skipped", "success"]'), needs.DownloadTestSdist.result) && contains(fromJSON('["skipped", "success"]'), needs.DownloadTestWheelsPure.result) && contains(fromJSON('["skipped", "success"]'), needs.PackageWheelsNonPure.result) && contains(fromJSON('["skipped", "success"]'), needs.PackageWheelsPure.result) && contains(fromJSON('["skipped", "success"]'), needs.PackageSdist.result) && ${{github.event_name != 'pull_request'}} && contains(fromJSON('["skipped", "success"]'), needs.CodeQualityAnalysis-Test.result) # && needs.CodeQualityAnalysis-Test.result == 'success' && needs.CodeQualityAnalysis-Test.outputs.pypi_released == 'true' - if: ${{github.event_name != 'pull_request' && needs.CodeQualityAnalysis-Test.result == 'skipped'}} # && needs.CodeQualityAnalysis-Test.result == 'success' && needs.CodeQualityAnalysis-Test.outputs.pypi_released == 'true' + if: | + always() && + github.event_name != 'pull_request' && + contains(fromJSON('["skipped", "success"]'), needs.DownloadTestSdist.result) && + contains(fromJSON('["skipped", "success"]'), needs.DownloadTestWheelsPure.result) && + contains(fromJSON('["skipped", "success"]'), needs.PackageWheelsNonPure.result) && + contains(fromJSON('["skipped", "success"]'), needs.PackageWheelsPure.result) && + contains(fromJSON('["skipped", "success"]'), needs.PackageSdist.result) && + needs.CodeQualityAnalysis-Test.result == 'skipped' + + # needs.CodeQualityAnalysis-Test.outputs.pypi_released == 'true' + # needs.CodeQualityAnalysis-Test.result == 'success' environment: # TODO: Only for testing purposes # name: pypi