From 15131af97e3f43cc344d3afcf080952f7f14506d Mon Sep 17 00:00:00 2001 From: Daria Mayorova Date: Tue, 7 Apr 2026 15:11:15 +0200 Subject: [PATCH] Update tagRelease action --- .github/workflows/tagRelease.yml | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/.github/workflows/tagRelease.yml b/.github/workflows/tagRelease.yml index bd08920..779f208 100644 --- a/.github/workflows/tagRelease.yml +++ b/.github/workflows/tagRelease.yml @@ -12,7 +12,7 @@ on: description: 'Tag to be created along with release' # Input has to be provided for the workflow to run required: true - git_ref: + git_ref: description: 'Git reference to create tag from, can be a commit hash or branch' required: true @@ -22,8 +22,12 @@ jobs: runs-on: ubuntu-latest name: Create Release steps: - - uses: softprops/action-gh-release@v2 #This action will create the release with the params specified. - with: - tag_name: ${{ inputs.tag }} - target_commitish: ${{ inputs.git_ref }} - + - name: Create Release + env: + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + run: | + gh release create ${{ inputs.tag }} \ + --repo ${{ github.repository }} \ + --target ${{ inputs.git_ref }} \ + --title "${{ inputs.tag }}" \ + --generate-notes