Skip to content

Commit

Permalink
文档里没写啊
Browse files Browse the repository at this point in the history
  • Loading branch information
sumneko committed Mar 13, 2024
1 parent 34d902d commit 5a2011c
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
name: publish

permissions:
contents: write

on:
push:
tags:
Expand All @@ -26,7 +29,7 @@ jobs:
- name: Pack vsix
shell: bash
env:
GITHUB_TOKEN: ${{ env.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.Y3_COMMIT_TOKEN }}
run: |
npm install -g @vscode/vsce
git config --global user.email "[email protected]"
Expand All @@ -44,7 +47,7 @@ jobs:
- name: Publish Release
uses: softprops/action-gh-release@v1
env:
GITHUB_TOKEN: ${{ env.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.Y3_COMMIT_TOKEN }}
with:
generate_release_notes: true
files: |
Expand Down

0 comments on commit 5a2011c

Please sign in to comment.