From 25efeb522d56f2dc4e7239039d40a326da24f230 Mon Sep 17 00:00:00 2001 From: Tsiry Sandratraina Date: Thu, 2 Nov 2023 06:39:32 +0000 Subject: [PATCH] ci(release): update upload job --- .github/workflows/release.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b3e42d9..800df06 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -26,10 +26,10 @@ jobs: TARGET: ${{ matrix.target }} - name: Upload release assets run: | - export FILE=/assets/fluentci_${{ env.RELEASE_VERSION }}_${{ matrix.target }}.tar.gz - fluentci run github_pipeline release_upload - export FILE=/assets/fluentci_${{ env.RELEASE_VERSION }}_${{ matrix.target }}.tar.gz.sha256 - fluentci run github_pipeline release_upload + for ext in tar.gz tar.gz.sha256; do + export FILE=/assets/fluentci_${{ env.RELEASE_VERSION }}_${{ matrix.target }}.$ext + fluentci run github_pipeline release_upload + done env: TAG: ${{ env.RELEASE_VERSION }} GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}