From 1b7b3c866417e472c5c4781e1aee1fa3c6a97719 Mon Sep 17 00:00:00 2001 From: Adriaan Zonnenberg Date: Mon, 30 Mar 2026 11:58:51 +0200 Subject: [PATCH] Replace action-gh-release with GitHub CLI Use the built-in `gh` CLI to upload the release zip file instead of relying on a third-party action, to avoid Node deprecation warning. --- .github/workflows/publish_release.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/publish_release.yml b/.github/workflows/publish_release.yml index 55522d9..e4ad249 100644 --- a/.github/workflows/publish_release.yml +++ b/.github/workflows/publish_release.yml @@ -46,8 +46,7 @@ jobs: SLUG: 'sendy' - name: Attach the zip file to the release - uses: softprops/action-gh-release@v2 + run: + gh release upload "${{ github.ref_name }}" "${{ github.workspace }}/sendy.zip" --clobber env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - with: - files: ${{ github.workspace }}/sendy.zip + GITHUB_TOKEN: ${{ github.token }}