Skip to content

Commit

Permalink
chore: disable Github 包发布
Browse files Browse the repository at this point in the history
  • Loading branch information
snomiao committed Apr 13, 2021
1 parent 4d8422c commit ad9aaec
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions .github/workflows/release-github.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,25 @@ on:
- "v*"
name: gh-pages
jobs:
github-publish:
# github-package:
# runs-on: ubuntu-latest
# steps:
# - uses: actions/setup-node@v2
# with:
# node-version: 14
# registry-url: "https://npm.pkg.github.com"
# # Github 包发布
# - run: npm publish
# env:
# NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
github-release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 14
registry-url: https://npm.pkg.github.com
# Github 包发布
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# Github 源码发布
- run: npm i -g github-release-from-changelog
- run: github-release-from-changelog
Expand Down

0 comments on commit ad9aaec

Please sign in to comment.