From 5573ec9fdbfa39ad025545fe667a9a2d0111d19c Mon Sep 17 00:00:00 2001 From: hiento09 <136591877+hiento09@users.noreply.github.com> Date: Wed, 22 May 2024 15:42:27 +0700 Subject: [PATCH] Replace deprecated steps github action (#2935) Co-authored-by: Hien To --- .github/workflows/jan-electron-build.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/jan-electron-build.yml b/.github/workflows/jan-electron-build.yml index 8898c8211..ab90f696f 100644 --- a/.github/workflows/jan-electron-build.yml +++ b/.github/workflows/jan-electron-build.yml @@ -25,12 +25,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