From dede209a00dff2bbe58c04229199080fa286356e Mon Sep 17 00:00:00 2001 From: Matt Gabrenya Date: Mon, 9 Oct 2023 15:46:30 -0700 Subject: [PATCH] chore: rename var, fix target name --- .github/workflows/install-release-all.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/install-release-all.yml b/.github/workflows/install-release-all.yml index 90a3b10..11ef18e 100644 --- a/.github/workflows/install-release-all.yml +++ b/.github/workflows/install-release-all.yml @@ -11,9 +11,9 @@ jobs: matrix: platforms: - host: macos-11 - target: x86_64-unknown-linux-gnu - - host: ubuntu-20.04 target: x86_64-apple-darwin + - host: ubuntu-20.04 + target: x86_64-unknown-linux-gnu - host: windows-2019 target: x86_64-pc-windows-msvc env: @@ -73,15 +73,14 @@ jobs: cp $HOLOCHAIN_PATH binaries/holochain-v${{ github.event.client_payload.holochain_version }}-${{ matrix.platforms.target }} cargo install holochain_cli --version ${{ github.event.client_payload.hc_version }} --features sqlite-encrypted - HOLOCHAIN_PATH=$(which hc) - cp $HOLOCHAIN_PATH binaries/hc-v${{ github.event.client_payload.hc_version }}-${{ matrix.platforms.target }} + HC_PATH=$(which hc) + cp $HC_PATH binaries/hc-v${{ github.event.client_payload.hc_version }}-${{ matrix.platforms.target }} - name: Rename artifact run: | mv binaries/lair-keystore binaries/lair-keystore-${{ matrix.platforms.target }} - mv binaries/hc binaries/hc-${{ matrix.platforms.target }} mv binaries/holochain binaries/holochain-${{ matrix.platforms.target }} - + mv binaries/hc binaries/hc-${{ matrix.platforms.target }} - name: Upload artifacts (unix paths) if: matrix.platforms.host == 'ubuntu-20.04' || matrix.platforms.host == 'macos-11' uses: actions/upload-artifact@v3