Skip to content

Commit

Permalink
fix: ensure publishing runs
Browse files Browse the repository at this point in the history
  • Loading branch information
TristanSpeakEasy committed Feb 20, 2024
1 parent e184c62 commit 6b0952c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/sdk-generation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -940,7 +940,7 @@ jobs:
GH_ACTION_VERSION: "v14"
GH_ACTION_STEP: ${{ github.job }}
publish-pypi:
if: ${{ needs.generate.outputs.python_regenerated == 'true' && inputs.publish_python == 'true' && inputs.mode != 'pr' }}
if: ${{ always() && needs.generate.outputs.python_regenerated == 'true' && inputs.publish_python == 'true' && inputs.mode != 'pr' }}
name: Publish Python SDK
runs-on: ubuntu-latest
needs: [generate, compile-python, finalize]
Expand Down Expand Up @@ -995,7 +995,7 @@ jobs:
GH_ACTION_STEP: ${{ github.job }}
TARGET_TYPE: "sdk"
publish-npm:
if: ${{ needs.generate.outputs.typescript_regenerated == 'true' && inputs.publish_typescript == 'true' && inputs.mode != 'pr' }}
if: ${{ always() && needs.generate.outputs.typescript_regenerated == 'true' && inputs.publish_typescript == 'true' && inputs.mode != 'pr' }}
name: Publish Typescript SDK
runs-on: ubuntu-latest
needs: [generate, compile-typescript, finalize]
Expand Down Expand Up @@ -1116,7 +1116,7 @@ jobs:
GH_ACTION_STEP: ${{ github.job }}
TARGET_TYPE: "sdk"
publish-gems:
if: ${{ needs.generate.outputs.ruby_regenerated == 'true' && inputs.publish_ruby == 'true' && inputs.mode != 'pr' }}
if: ${{ always() && needs.generate.outputs.ruby_regenerated == 'true' && inputs.publish_ruby == 'true' && inputs.mode != 'pr' }}
name: Publish Ruby SDK
runs-on: ubuntu-latest
needs: [generate, compile-ruby, finalize]
Expand Down Expand Up @@ -1172,7 +1172,7 @@ jobs:
GH_ACTION_STEP: ${{ github.job }}
TARGET_TYPE: "sdk"
publish-nuget:
if: ${{ needs.generate.outputs.csharp_regenerated == 'true' && inputs.publish_csharp == 'true' && inputs.mode != 'pr' }}
if: ${{ always() && needs.generate.outputs.csharp_regenerated == 'true' && inputs.publish_csharp == 'true' && inputs.mode != 'pr' }}
name: Publish C# SDK
runs-on: ubuntu-latest
needs: [generate, compile-csharp, finalize]
Expand Down Expand Up @@ -1218,7 +1218,7 @@ jobs:
GH_ACTION_STEP: ${{ github.job }}
TARGET_TYPE: "sdk"
publish-packagist:
if: ${{ needs.generate.outputs.php_regenerated == 'true' && inputs.publish_php == 'true' && inputs.mode != 'pr' }}
if: ${{ always() && needs.generate.outputs.php_regenerated == 'true' && inputs.publish_php == 'true' && inputs.mode != 'pr' }}
name: Publish PHP SDK
runs-on: ubuntu-latest
needs: [generate, compile-php, finalize]
Expand Down

0 comments on commit 6b0952c

Please sign in to comment.