Skip to content

Commit

Permalink
Fix actions
Browse files Browse the repository at this point in the history
  • Loading branch information
FelixS90 committed Jun 5, 2024
1 parent f9061c0 commit dc9344e
Showing 1 changed file with 17 additions and 7 deletions.
24 changes: 17 additions & 7 deletions .github/workflows/build-reusable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit dc9344e

Please sign in to comment.