From d10c0da019c994b2d581ab9e5c94021d7ad55d29 Mon Sep 17 00:00:00 2001 From: hiento09 <136591877+hiento09@users.noreply.github.com> Date: Wed, 22 May 2024 15:28:36 +0700 Subject: [PATCH] Replace deprecated steps github action (#46) Co-authored-by: Hien To --- .github/workflows/build.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9fb58bbd..280f26e8 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -44,12 +44,11 @@ jobs: GITHUB_REF: ${{ github.ref }} - name: Create Draft Release id: create_release - uses: actions/create-release@v1 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + uses: softprops/action-gh-release@v2 with: tag_name: ${{ github.ref_name }} - release_name: "${{ env.VERSION }}" + token: ${{ secrets.GITHUB_TOKEN }} + name: "${{ env.VERSION }}" draft: true prerelease: false