diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c38c29c2..a60a35bf 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -19,10 +19,15 @@ jobs: - uses: actions/checkout@v4 - uses: prefecthq/actions-release-ui-components@main + id: release-ui-components with: NPM_TOKEN: ${{ secrets.PREFECT_UI_COMPONENTS_NPM_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - PREFECT_UI_LIBRARY_ACTIONS_RW_TOKEN: ${{ secrets.PREFECT_UI_LIBRARY_ACTIONS_RW }} - UPDATE_DOWNSTREAM_NEBULA_UI_REPO: "false" - UPDATE_DOWNSTREAM_OSS_REPO: "false" - UPDATE_DOWNSTREAM_PREFECT_UI_LIBRARY_REPO: "true" + + - uses: prefecthq/actions-trigger-downstream-npm-package-updates@main + id: trigger-downstream-npm-package-update-prefect-ui-library + if: ${{ steps.release-ui-components.outputs.type }} + with: + GITHUB_TOKEN: ${{ secrets.PREFECT_UI_LIBRARY_ACTIONS_RW }} + DOWNSTREAM_REPO_NAME: prefect-ui-library + RELEASE_TAG: ${{ steps.release-ui-components.outputs.version}}