From 45aa929032d5cd753cfcab45e4ce092dac76b172 Mon Sep 17 00:00:00 2001 From: Tsiry Sandratraina Date: Sat, 4 Apr 2026 12:49:40 +0300 Subject: [PATCH] Use softprops action to upload release assets Replace fluentci upload loop with softprops/action-gh-release@v1 and provide asset filenames via the files input. Use GITHUB_TOKEN from secrets for authentication instead of the TAG environment variable. --- .github/workflows/release.yml | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f1810d3..164b7b7 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -27,11 +27,10 @@ jobs: TAG: ${{ env.RELEASE_VERSION }} TARGET: ${{ matrix.target }} - name: Upload release assets - run: | - for ext in tar.gz tar.gz.sha256; do - export FILE=/assets/tunein_${{ env.RELEASE_VERSION }}_${{ matrix.target }}.$ext - fluentci run github_pipeline release_upload - done + uses: softprops/action-gh-release@v1 + with: + files: | + tunein_${{ env.RELEASE_VERSION }}_${{ matrix.target }}.tar.gz + tunein_${{ env.RELEASE_VERSION }}_${{ matrix.target }}.tar.gz.sha256 env: - TAG: ${{ env.RELEASE_VERSION }} - GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} -- knotmirror 0.0.1