From 86399a33a8ecdee3f3005ad9a4524dc6d1a8161c Mon Sep 17 00:00:00 2001 From: michaelangrivera Date: Wed, 8 Nov 2023 21:29:35 -0500 Subject: [PATCH] chore: move vsix publish to separate action --- .github/workflows/release-please.yaml | 8 ++++++++ .github/workflows/release-vsix.yaml | 4 +--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release-please.yaml b/.github/workflows/release-please.yaml index 30bb05f..09e95d9 100644 --- a/.github/workflows/release-please.yaml +++ b/.github/workflows/release-please.yaml @@ -44,3 +44,11 @@ jobs: uses: google-github-actions/release-please-action@v3 with: command: manifest + + - name: Trigger VSIX Release + if: ${{ steps.release.outputs.release_created }} + run: gh workflow run release-vsix.yml + env: + GITHUB_TOKEN: ${{ secrets.VSIX_DISPATCH_TOKEN }} + + diff --git a/.github/workflows/release-vsix.yaml b/.github/workflows/release-vsix.yaml index 70a3222..48678e2 100644 --- a/.github/workflows/release-vsix.yaml +++ b/.github/workflows/release-vsix.yaml @@ -1,9 +1,7 @@ name: Release VSIX on: - push: - tags: - - "does-it-throw-vscode-v*" + workflow_dispatch: jobs: release: