Skip to content

Commit

Permalink
fix: 第三次嘗試修復 CI publish
Browse files Browse the repository at this point in the history
  • Loading branch information
amowu committed Feb 13, 2022
1 parent 96fa8c5 commit f3f8061
Show file tree
Hide file tree
Showing 5 changed files with 149 additions and 478 deletions.
27 changes: 0 additions & 27 deletions .github/workflows/publish.yml

This file was deleted.

5 changes: 5 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,8 @@ jobs:
uses: cycjimmy/semantic-release-action@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Publish
if: success() && matrix.os == 'ubuntu-latest'
run: npm run deploy
env:
VSCE_PAT: ${{ secrets.VSCE_PAT }}
16 changes: 16 additions & 0 deletions .releaserc
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"branches": "master",
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
[
"@semantic-release/npm",
{
"npmPublish": false
}
],
"@semantic-release/changelog",
"@semantic-release/github",
"@semantic-release/git"
]
}
Loading

0 comments on commit f3f8061

Please sign in to comment.