Skip to content

Commit 259ad8c

Browse files
committed
DEP: new release creator action
1 parent b5b2c1c commit 259ad8c

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ jobs:
1313
build:
1414
runs-on: ubuntu-latest
1515

16+
permissions:
17+
contents: write
18+
1619
steps:
1720
- name: Set up Git repository
1821
uses: actions/checkout@v3
@@ -49,14 +52,10 @@ jobs:
4952

5053
- name: Create Release
5154
id: create_release
52-
uses: actions/create-release@v1
53-
env:
54-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # See https://github.com/elgohr/Github-Release-Action for RELEASE_TOKEN discussion
55+
uses: ncipollo/release-action@v1
56+
5557
with:
56-
tag_name: ${{ github.ref }}
5758
release_name: Release ${{ github.ref }}
58-
draft: false
59-
prerelease: false
6059

6160
- name: Upload Release Asset
6261
id: upload-release-asset

0 commit comments

Comments
 (0)