Skip to content

Commit

Permalink
passed in GITHUB_TOKEN for release
Browse files Browse the repository at this point in the history
  • Loading branch information
ahnafnafee committed Sep 23, 2024
1 parent 233f2d4 commit dc67216
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build-extension.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/publish-extension.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
name: Publish extension

on:
workflow_run:
workflows: [Build extension]
types:
- completed
release:
types: [published]

jobs:
openvsx:
Expand Down

0 comments on commit dc67216

Please sign in to comment.