From dc67216089d9463c89ef02bd83121fda7519d69b Mon Sep 17 00:00:00 2001 From: Dynasty 11 Dev Date: Mon, 23 Sep 2024 17:29:54 -0400 Subject: [PATCH] passed in GITHUB_TOKEN for release --- .github/workflows/build-extension.yml | 2 ++ .github/workflows/publish-extension.yml | 6 ++---- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-extension.yml b/.github/workflows/build-extension.yml index 7faceaf..ad82f70 100644 --- a/.github/workflows/build-extension.yml +++ b/.github/workflows/build-extension.yml @@ -35,6 +35,8 @@ jobs: - name: Create release with artifact if: ${{ success() && steps.package-version.outputs.current-version }} uses: softprops/action-gh-release@v1 + env: + GITHUB_TOKEN: ${{ secrets.github_token }} with: name: Release v${{ steps.package-version.outputs.current-version }} tag_name: v${{ steps.package-version.outputs.current-version }} diff --git a/.github/workflows/publish-extension.yml b/.github/workflows/publish-extension.yml index e0d9eca..5528d83 100644 --- a/.github/workflows/publish-extension.yml +++ b/.github/workflows/publish-extension.yml @@ -1,10 +1,8 @@ name: Publish extension on: - workflow_run: - workflows: [Build extension] - types: - - completed + release: + types: [published] jobs: openvsx: