There was an error while loading. Please reload this page.
1 parent efec906 commit 2514c2dCopy full SHA for 2514c2d
1 file changed
.github/workflows/release-please.yml
@@ -15,6 +15,7 @@ jobs:
15
runs-on: ubuntu-latest
16
outputs:
17
paths_released: ${{ steps.release.outputs.paths_released }}
18
+ releases_created: ${{ steps.release.outputs.releases_created }}
19
steps:
20
- uses: googleapis/release-please-action@v5
21
id: release
@@ -48,8 +49,7 @@ jobs:
48
49
- run: pnpm -r --filter './packages/**' publish --access=public
50
docs:
51
needs: release
- # Only publish docs if the synapse-sdk package is released (manual publish is possible from the GitHub UI)
52
- if: |
53
- contains(fromJson(needs.release.outputs.paths_released), 'packages/synapse-sdk')
+ # Publish docs when any package is released (manual publishing is also available from the GitHub UI)
+ if: needs.release.outputs.releases_created == 'true'
54
uses: ./.github/workflows/docs.yml
55
secrets: inherit
0 commit comments