From c47218552cf051ca5f799b86457a3fae4a3fd585 Mon Sep 17 00:00:00 2001 From: Tsiry Sandratraina Date: Thu, 2 Nov 2023 05:18:12 +0000 Subject: [PATCH] ci: update release.yml ci: update release.yml ci: update release.yml ci: update release.yml ci: update release.yml ci: update release.yml ci: update release.yml ci: update release.yml ci: update release.yml --- .github/workflows/release.yml | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7d21801..b3e42d9 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -5,15 +5,14 @@ on: jobs: build: + name: release runs-on: ubuntu-latest strategy: matrix: - include: - - target: - - x86_64-unknown-linux-gnu - - x86_64-apple-darwin - - aarch64-apple-darwin - extensions: tar.gz tar.gz.sha256 + target: + - x86_64-unknown-linux-gnu + - x86_64-apple-darwin + - aarch64-apple-darwin steps: - uses: actions/checkout@v3 - name: Setup Fluent CI @@ -26,8 +25,11 @@ jobs: TAG: ${{ env.RELEASE_VERSION }} TARGET: ${{ matrix.target }} - name: Upload release assets - run: fluentci run github_pipeline release_upload + 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 env: TAG: ${{ env.RELEASE_VERSION }} - FILE: /assets/fluentci_${{ env.RELEASE_VERSION }}_${{ matrix.target }}.${{ matrix.extensions }} GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}