From 6041e4edce782865c590f92f0bb135ec4e2ae67c Mon Sep 17 00:00:00 2001 From: Deeka Wong <8337659+huangdijia@users.noreply.github.com> Date: Wed, 25 Sep 2024 08:28:07 +0800 Subject: [PATCH] Improve release actions --- .github/workflows/release.yaml | 20 +------------------- 1 file changed, 1 insertion(+), 19 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 84136de..f924464 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -7,22 +7,4 @@ on: jobs: build: - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v4 - - - name: Get the version - id: get_version - if: startsWith(github.ref, 'refs/tags/') - run: echo ::set-output name=VERSION::${GITHUB_REF#refs/tags/} - - - name: Release - uses: softprops/action-gh-release@v2 - with: - token: ${{ secrets.GITHUB_TOKEN }} - tag_name: ${{ github.ref }} - name: Release ${{ steps.get_version.outputs.VERSION }} - draft: false - prerelease: false - generate_release_notes: true \ No newline at end of file + uses: friendsofhyperf/.github/.github/workflows/release.yaml@main \ No newline at end of file