Skip to content

Commit c28fb8b

Browse files
committed
switch to ncipollo/release-action@v1
1 parent baaf02f commit c28fb8b

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

.github/workflows/publish.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,19 @@ on:
88
jobs:
99
create_release:
1010
runs-on: ubuntu-latest
11+
permissions:
12+
contents: write
1113
outputs:
1214
upload_url: ${{ steps.create_release.outputs.upload_url }}
1315
steps:
1416
- name: Create GitHub Release
1517
id: create_release
16-
uses: actions/create-release@v1
17-
env:
18-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
18+
uses: ncipollo/release-action@v1
1919
with:
20-
tag_name: ${{ github.ref }}
21-
release_name: Release ${{ github.ref }}
20+
tag: ${{ github.ref }}
21+
name: Release ${{ github.ref }}
22+
token: ${{ secrets.GITHUB_TOKEN }}
23+
2224
build:
2325
needs: create_release
2426
runs-on: ${{ matrix.runs-on }}

0 commit comments

Comments
 (0)