From 0cb07cbd80e82f477b29456cab847890bde63db4 Mon Sep 17 00:00:00 2001 From: Zakir Jiwani <108548454+JiwaniZakir@users.noreply.github.com> Date: Thu, 2 Apr 2026 07:50:09 +0000 Subject: [PATCH] Replace softprops/action-gh-release with gh CLI in pack-tutorials --- .github/workflows/pack-tutorials.yml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/pack-tutorials.yml b/.github/workflows/pack-tutorials.yml index fc4b536a3..9cf93c0c2 100644 --- a/.github/workflows/pack-tutorials.yml +++ b/.github/workflows/pack-tutorials.yml @@ -65,12 +65,9 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Upload zip file as release asset - uses: softprops/action-gh-release@v2 - with: - tag_name: ${{ steps.get_release.outputs.tag }} - files: ${{ env.ZIP_FILE_NAME }} - draft: false - prerelease: false + env: + GH_TOKEN: ${{ github.token }} + run: gh release upload "${{ steps.get_release.outputs.tag }}" "${{ env.ZIP_FILE_NAME }}" - name: Cleanup if: always()