chore: remove .github/workflows/release.yml
This commit is contained in:
parent
860183466e
commit
bb886fc74a
|
|
@ -50,10 +50,10 @@ jobs:
|
|||
name: ${{ steps.create_tag.outputs.version }}
|
||||
tag: ${{ steps.create_tag.outputs.version }}
|
||||
body: |
|
||||
[](https://uiwjs.github.io/npm-unpkg/#/pkg/linux-command@${{steps.changelog.outputs.version}}/file/README.md) [](https://bundlephobia.com/result?p=linux-command@${{steps.changelog.outputs.version}})
|
||||
[](https://uiwjs.github.io/npm-unpkg/#/pkg/linux-command@${{steps.create_tag.outputs.versionNumber}}/file/README.md) [](https://bundlephobia.com/result?p=linux-command@${{steps.create_tag.outputs.versionNumber}})
|
||||
|
||||
```bash
|
||||
npm i linux-command@${{steps.changelog.outputs.version}}
|
||||
npm i linux-command@${{steps.create_tag.outputs.versionNumber}}
|
||||
```
|
||||
|
||||
${{ steps.changelog.outputs.compareurl }}
|
||||
|
|
|
|||
|
|
@ -1,55 +0,0 @@
|
|||
name: Create Release
|
||||
on:
|
||||
push:
|
||||
# Sequence of patterns matched against refs/tags
|
||||
tags:
|
||||
- 'v*' # Push events to matching v*, i.e. v1.0, v0.4.4
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-18.04
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: 14
|
||||
|
||||
- name: Generate Changelog
|
||||
id: changelog
|
||||
uses: jaywcjlove/changelog-generator@v1.4.3
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
filter-author: (jaywcjlove|小弟调调™|dependabot\[bot\]|Renovate Bot)
|
||||
filter: (^[\s]+?[R|r]elease)|(^[R|r]elease)
|
||||
|
||||
|
||||
- run: npm install
|
||||
- run: npm run build
|
||||
|
||||
- run: npm install @jsdevtools/npm-publish -g
|
||||
- run: npm-publish --token="${{ secrets.NPM_TOKEN }}" ./package.json
|
||||
|
||||
- run: npm run dash
|
||||
|
||||
- name: Deploy
|
||||
uses: peaceiris/actions-gh-pages@v3
|
||||
with:
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
publish_dir: ./.deploy
|
||||
|
||||
- name: Create Release
|
||||
uses: ncipollo/release-action@v1
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
name: ${{ steps.changelog.outputs.tag }}
|
||||
tag: ${{ steps.changelog.outputs.tag }}
|
||||
body: |
|
||||
[](https://uiwjs.github.io/npm-unpkg/#/pkg/linux-command@${{steps.changelog.outputs.version}}/file/README.md) [](https://bundlephobia.com/result?p=linux-command@${{steps.changelog.outputs.version}})
|
||||
|
||||
```bash
|
||||
npm i linux-command@${{steps.changelog.outputs.version}}
|
||||
```
|
||||
|
||||
${{ steps.changelog.outputs.compareurl }}
|
||||
|
||||
${{ steps.changelog.outputs.changelog }}
|
||||
Loading…
Reference in New Issue