Skip to content

Commit

Permalink
ci: use gh cli for release
Browse files Browse the repository at this point in the history
  • Loading branch information
jnoortheen committed Jan 24, 2025
1 parent 5145ae6 commit 076bfc0
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/release-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,4 @@ jobs:
bun run package
bun run ovsx publish *.vsix --pat ${{ secrets.OPEN_VSX_TOKEN }}
bun run vsce publish -p ${{ secrets.VS_MARKETPLACE_TOKEN }}
- name: Release
if: steps.check_commit.outputs.is_release == 'true'
uses: softprops/action-gh-release@v2
with:
files: nix-ide*.vsix
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
gh release create v${{ steps.check_commit.outputs.version }} nix-ide*.vsix --title "v${{ steps.check_commit.outputs.version }}" --notes "Release v${{ steps.check_commit.outputs.version }}"

0 comments on commit 076bfc0

Please sign in to comment.