Skip to content

Commit c4d72cd

Browse files
committed
Improve release actions
1 parent f3fccf6 commit c4d72cd

File tree

1 file changed

+1
-19
lines changed

1 file changed

+1
-19
lines changed

.github/workflows/release.yaml

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -7,22 +7,4 @@ on:
77

88
jobs:
99
build:
10-
runs-on: ubuntu-latest
11-
steps:
12-
- name: Checkout
13-
uses: actions/checkout@v4
14-
15-
- name: Get the version
16-
id: get_version
17-
if: startsWith(github.ref, 'refs/tags/')
18-
run: echo ::set-output name=VERSION::${GITHUB_REF#refs/tags/}
19-
20-
- name: Release
21-
uses: softprops/action-gh-release@v2
22-
with:
23-
token: ${{ secrets.GITHUB_TOKEN }}
24-
tag_name: ${{ github.ref }}
25-
name: Release ${{ steps.get_version.outputs.VERSION }}
26-
draft: false
27-
prerelease: false
28-
generate_release_notes: true
10+
uses: friendsofhyperf/.github/.github/workflows/release.yaml@main

0 commit comments

Comments
 (0)