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 }}