Skip to content

Commit 5263254

Browse files
committed
build: replace ncipollo/release-action with gh release
Reduce the number of third parties actions and directly supported ways to create releases. Signed-off-by: Daniel Wagner <[email protected]>
1 parent 762188a commit 5263254

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

.github/workflows/release.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ name: Release
1010

1111
on:
1212
push:
13-
branches: [ master ]
13+
branches: [master]
1414
tags:
1515
- '**'
1616

@@ -24,6 +24,8 @@ jobs:
2424
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2525
- name: Mark repo as safe for git
2626
run: git config --global --add safe.directory "$GITHUB_WORKSPACE"
27-
- uses: ncipollo/release-action@b7eabc95ff50cbeeedec83973935c8f306dfcd0b # v1.20.0
28-
with:
29-
token: ${{ secrets.GITHUB_TOKEN }}
27+
- name: Create Release
28+
run: |
29+
gh release create "${GITHUB_REF_NAME}" --generate-notes
30+
env:
31+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)