Skip to content

Commit 53995dd

Browse files
committed
Use action-automatic-releases@latest
1 parent f643c5c commit 53995dd

File tree

1 file changed

+2
-12
lines changed

1 file changed

+2
-12
lines changed

.github/workflows/ci.yaml

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -117,19 +117,9 @@ jobs:
117117
- name: Auto increment version (optional)
118118
run: npm version patch -m "Upgrade to %s for reasons"
119119

120-
- name: Extract branch or tag name
121-
id: extract_ref
122-
run:
123-
echo "##[set-output name=branch_or_tag;]$(echo ${GITHUB_REF#refs/*/})"
124-
125-
- name: Create GitHub Release
126-
uses: actions/create-release@v1
127-
env:
128-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
120+
- uses: "marvinpinto/action-automatic-releases@latest"
129121
with:
130-
tag_name: ${{ steps.extract_ref.outputs.branch_or_tag }}
131-
release_name: Release ${{ steps.extract_ref.outputs.branch_or_tag }}
132-
draft: false
122+
repo_token: "${{ secrets.GITHUB_TOKEN }}"
133123
prerelease: false
134124

135125
- name: Publish to npm

0 commit comments

Comments
 (0)