Skip to content

Commit 95a34c5

Browse files
authored
Merge pull request #129 from bingenito/release-action
Simplify release action
2 parents cc10460 + b85b4dd commit 95a34c5

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

Diff for: .github/workflows/create-release.yaml

-13
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
name: Create Release
22

33
on:
4-
push:
5-
branches: [ main ]
64
workflow_dispatch:
75

86
jobs:
@@ -28,17 +26,6 @@ jobs:
2826
- name: Install node modules and verify build
2927
run: npm ci && npm run build-release
3028

31-
- name: Release
32-
if: github.repository == 'morganstanley/needle'
33-
uses: justincy/github-action-npm-release@f6afd60cbb595a76ecae037ad006671636d321f5 # 2.0.2
34-
id: release
35-
with:
36-
token: ${{ secrets.RELEASE_TOKEN }}
37-
38-
- name: Print release output
39-
if: ${{ steps.release.outputs.released == 'true' }}
40-
run: echo Release ID ${{ steps.release.outputs.release_id }}
41-
4229
- name: Publish
4330
if: steps.release.outputs.released == 'true'
4431
run: npm publish --provenance --access public

0 commit comments

Comments
 (0)