Replace deprecated steps github action (#2935)

Co-authored-by: Hien To <tominhhien97@gmail.com>
This commit is contained in:
hiento09 2024-05-22 15:42:27 +07:00 committed by GitHub
parent 6ba540d1f7
commit 5573ec9fdb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -25,12 +25,11 @@ jobs:
GITHUB_REF: ${{ github.ref }} GITHUB_REF: ${{ github.ref }}
- name: Create Draft Release - name: Create Draft Release
id: create_release id: create_release
uses: actions/create-release@v1 uses: softprops/action-gh-release@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with: with:
tag_name: ${{ github.ref_name }} tag_name: ${{ github.ref_name }}
release_name: "${{ env.VERSION }}" token: ${{ secrets.GITHUB_TOKEN }}
name: "${{ env.VERSION }}"
draft: true draft: true
prerelease: false prerelease: false