From 02f237027d38ebf84840d02c01414d25baf1402c Mon Sep 17 00:00:00 2001 From: bniladridas Date: Fri, 26 Sep 2025 08:59:36 +0530 Subject: [PATCH] Update release workflow to use modern action --- .github/workflows/release.yml | 24 ++++++------------------ 1 file changed, 6 insertions(+), 18 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c9310d3..b08859c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -21,21 +21,9 @@ jobs: pip install build - name: Build package run: python -m build - - name: Create Release - uses: actions/create-release@v1 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - with: - tag_name: ${{ github.ref }} - release_name: Release ${{ github.ref }} - draft: false - prerelease: false - - name: Upload Release Asset - uses: actions/upload-release-asset@v1 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - with: - upload_url: ${{ steps.create_release.outputs.upload_url }} - asset_path: ./dist/git-tui-${{ github.ref_name }}.tar.gz - asset_name: git-tui-${{ github.ref_name }}.tar.gz - asset_content_type: application/gzip \ No newline at end of file + - name: Create Release + uses: softprops/action-gh-release@v1 + with: + files: ./dist/git-tui-${{ github.ref_name }}.tar.gz + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file