Skip to content

Commit

Permalink
ci: Fix cli auto publishing (#10222)
Browse files Browse the repository at this point in the history
  • Loading branch information
FabianLars authored Jul 12, 2024
1 parent 212001c commit 390b35d
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions .github/workflows/covector-version-or-publish-v1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

0 comments on commit 390b35d

Please sign in to comment.