Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit f8cb0ec

Browse files
authored
chore: fix release process
1 parent 280aa05 commit f8cb0ec

File tree

1 file changed

+11
-16
lines changed

1 file changed

+11
-16
lines changed

‎.github/workflows/release.yml‎

Lines changed: 11 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,22 @@
11
name: Release
2-
on:
3-
workflow_dispatch:
4-
inputs:
5-
dryrun:
6-
description: "DryRun"
7-
required: false
8-
default: 'true'
2+
on: [workflow_dispatch]
93
jobs:
104
release:
115
name: Release
126
runs-on: ubuntu-latest
7+
# if: github.ref == 'refs/heads/master'
138
steps:
149

15-
- uses: actions/checkout@v2
10+
- name: Setup Node.js for use with actions
11+
uses: actions/setup-node@v2.1.5
1612

17-
- name: git/unshallow
13+
- name: Checkout
14+
uses: actions/checkout@v2
15+
16+
- name: Unshallow
1817
run: git fetch --prune --unshallow
1918

20-
- uses: cycjimmy/semantic-release-action@v2
21-
with:
22-
dry_run: ${{ github.event.inputs.dryrun }}
23-
extra_plugins: |
24-
@semantic-release/changelog
25-
@semantic-release/git
19+
- name: Run semantic-release
20+
run: npx -p @semantic-release/changelog -p semantic-release@17.3.0 -p @semantic-release/git semantic-release
2621
env:
27-
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
22+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /