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: