From 550d0d8cfb868659d4af10a6b7ea6d0bc7257cc6 Mon Sep 17 00:00:00 2001 From: Ben Wilson Date: Tue, 30 Jan 2024 08:43:20 -0500 Subject: [PATCH] fix: steps in setup --- .github/workflows/rust-build-and-test.yml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/.github/workflows/rust-build-and-test.yml b/.github/workflows/rust-build-and-test.yml index b1f58553e..a798cd470 100644 --- a/.github/workflows/rust-build-and-test.yml +++ b/.github/workflows/rust-build-and-test.yml @@ -141,13 +141,15 @@ jobs: env: RUST_CERAMIC_IMAGE: ${{ needs.build.outputs.build_tag }} run: | - sudo apt-get update && apt-get install -y curl yq - curl -LO https://github.com/3box/ceramic-tests/releases/download/v0.2.0/hermetic-driver-x86_64-linux - mv hermetic-driver-x86_64-linux ./bin/hermetic-driver + mkdir ./bin + sudo apt-get update && sudo apt-get install -y curl + curl -L https://github.com/mikefarah/yq/releases/download/v4.40.5/yq_linux_amd64 -o ./bin/yq + chmod +x ./bin/yq + curl -L https://github.com/3box/ceramic-tests/releases/download/v0.2.0/hermetic-driver-x86_64-linux -o ./bin/hermetic-driver chmod +x ./bin/hermetic-driver - curl -LO https://raw.githubusercontent.com/3box/ceramic-tests/main/networks/basic-rust.yaml - yq e '.spec.ceramic[0].ipfs.rust.image = strenv(RUST_CERAMIC_IMAGE)' basic-rust.yaml - cat basic-rust.yaml + curl -L https://raw.githubusercontent.com/3box/ceramic-tests/main/networks/basic-rust.yaml + ./bin/yq -i '.spec.ceramic[0].ipfs.rust.image = strenv(RUST_CERAMIC_IMAGE)' basic-rust.yaml + ./bin/yq basic-rust.yaml - name: Setup GKE auth uses: 'google-github-actions/auth@v1'