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 6efc8a0 commit 013ce1e
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/build-reusable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ permissions:
contents: read
jobs:
CodeQualityAnalysis-Test:
if: github.event_name != 'push' #TODO: Remove
name: Static Analysis and Tests
runs-on: windows-2019
outputs:
Expand Down Expand Up @@ -147,7 +148,7 @@ jobs:
PkgRootFolder: "${{ github.workspace }}/${{inputs.PkgRootFolder}}"
OS: "${{matrix.config.OS}}"
CIBWBEFOREALL: "${{matrix.config.CIBWBEFOREALL}}"
if: inputs.Pure == false
if: inputs.Pure == false && github.event_name != 'push' #TODO: Remove
PackageWheelsPure:
name: Package Pure Wheels
runs-on: windows-2019
Expand All @@ -174,6 +175,7 @@ jobs:
name: Wheel${{inputs.PyVersionLatest}}
path: "${{ github.workspace }}\\${{inputs.PkgRootFolder}}\\dist"
PackageSDist:
if: github.event_name != 'push' #TODO: Remove
name: Package Source Distribution
runs-on: windows-2019
steps:
Expand Down Expand Up @@ -212,9 +214,10 @@ jobs:
ArtifactName: Wheel${{inputs.PyVersionLatest}}
PkgRootFolder: "${{ github.workspace }}/${{inputs.PkgRootFolder}}"
RunShell: cmd
if: inputs.Pure == true
if: inputs.Pure == true && github.event_name != 'push' #TODO: Remove
needs: PackageWheelsPure
DownloadTestSdist:
if: github.event_name != 'push' #TODO: Remove
strategy:
matrix:
config:
Expand Down Expand Up @@ -260,8 +263,10 @@ jobs:
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 == 'success' &&
needs.CodeQualityAnalysis-Test.outputs.pypi_released == true
needs.CodeQualityAnalysis-Test.result == 'skipped'
# TODO: Revert
# 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 013ce1e

Please sign in to comment.