From 390b35d87a94ce1f23306395b9f2e55895f1e79f Mon Sep 17 00:00:00 2001 From: Fabian-Lars Date: Fri, 12 Jul 2024 15:46:21 +0200 Subject: [PATCH] ci: Fix cli auto publishing (#10222) --- .../workflows/covector-version-or-publish-v1.yml | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/.github/workflows/covector-version-or-publish-v1.yml b/.github/workflows/covector-version-or-publish-v1.yml index 4cbfbef51b04..84b27e3e81a6 100644 --- a/.github/workflows/covector-version-or-publish-v1.yml +++ b/.github/workflows/covector-version-or-publish-v1.yml @@ -226,16 +226,14 @@ jobs: if: | steps.covector.outputs.successfulPublish == 'true' && contains(steps.covector.outputs.packagesPublished, '@tauri-apps/cli') - uses: peter-evans/repository-dispatch@v1 - with: - event-type: publish-js-cli - client-payload: >- - {"releaseId": "${{ steps.covector.outputs['-tauri-apps-cli-releaseId'] }}" } + run: gh workflow run 31554138 -r 1.x -f releaseId=${{ steps.covector.outputs['-tauri-apps-cli-releaseId'] }} + env: + GITHUB_TOKEN: ${{ secrets.ORG_TAURI_BOT_PAT }} - name: Trigger `tauri-cli` publishing workflow if: | steps.covector.outputs.successfulPublish == 'true' && contains(steps.covector.outputs.packagesPublished, 'tauri-cli') - uses: peter-evans/repository-dispatch@v1 - with: - event-type: publish-clirs + run: gh workflow run 31554139 -r 1.x + env: + GITHUB_TOKEN: ${{ secrets.ORG_TAURI_BOT_PAT }}