From 5b0473b20055491339c414094dd7066fc2edd0ef Mon Sep 17 00:00:00 2001 From: hayzamjs Date: Thu, 17 Aug 2023 00:56:47 +0530 Subject: [PATCH] actions: fix release script typo --- .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 0663ea7..6ca61e0 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -118,14 +118,14 @@ jobs: - name: Get latest release version number id: get_version uses: battila7/get-version-action@v2 - - name: Package for ${{ matrix.host }} + - name: Package for ${{ matrix.toolchain.host }} run: | - if [[ "${{ matrix.host }}" == "x86_64-w64-mingw32" ]]; then + if [[ "${{ matrix.toolchain.host }}" == "x86_64-w64-mingw32" ]]; then FILENAME="win-x64" else - FILENAME="${{ matrix.host }}" + FILENAME="${{ matrix.toolchain.host }}" fi - zip -rj scala-${{ steps.get_version.outputs.version }}-$FILENAME.zip /home/runner/work/Scala/Scala/build/${{ matrix.host }}/release/bin/scala* + zip -rj scala-${{ steps.get_version.outputs.version }}-$FILENAME.zip /home/runner/work/Scala/Scala/build/${{ matrix.toolchain.host }}/release/bin/scala* - name: Determine asset name id: get_asset_name run: |