From b62e79a7e059e8a44861eaf71860a3d12cedc20a Mon Sep 17 00:00:00 2001 From: Paul Hauner Date: Sat, 15 Jul 2023 10:00:34 +1000 Subject: [PATCH] Swap vars to env --- .github/workflows/test-suite.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/test-suite.yml b/.github/workflows/test-suite.yml index f4f40d1adf9..e9e828de8c2 100644 --- a/.github/workflows/test-suite.yml +++ b/.github/workflows/test-suite.yml @@ -56,7 +56,7 @@ jobs: steps: - uses: actions/checkout@v3 - name: Get latest version of stable Rust - if: vars.SELF_HOSTED_RUNNERS == false + if: env.SELF_HOSTED_RUNNERS == false run: rustup update stable - name: Install Protoc uses: arduino/setup-protoc@e52d9eb8f7b63115df1ac544a1376fdbf5a39612 @@ -65,7 +65,7 @@ jobs: - name: Install anvil run: cargo install --git https://github.com/foundry-rs/foundry --locked anvil - name: Install apt dependencies - if: vars.SELF_HOSTED_RUNNERS + if: env.SELF_HOSTED_RUNNERS run: | apt-get update apt-get install libpq-dev # Required for Postgres in ./watch. @@ -78,7 +78,7 @@ jobs: steps: - uses: actions/checkout@v3 - name: Get latest version of stable Rust - if: vars.SELF_HOSTED_RUNNERS == false + if: env.SELF_HOSTED_RUNNERS == false run: rustup update stable - name: Use Node.js uses: actions/setup-node@v2 @@ -109,7 +109,7 @@ jobs: steps: - uses: actions/checkout@v3 - name: Get latest version of stable Rust - if: vars.SELF_HOSTED_RUNNERS == false + if: env.SELF_HOSTED_RUNNERS == false run: rustup update stable - name: Install Protoc uses: arduino/setup-protoc@e52d9eb8f7b63115df1ac544a1376fdbf5a39612 @@ -149,7 +149,7 @@ jobs: steps: - uses: actions/checkout@v3 - name: Get latest version of stable Rust - if: vars.SELF_HOSTED_RUNNERS == false + if: env.SELF_HOSTED_RUNNERS == false run: rustup update stable - name: Install Protoc uses: arduino/setup-protoc@e52d9eb8f7b63115df1ac544a1376fdbf5a39612 @@ -158,7 +158,7 @@ jobs: - name: Install anvil run: cargo install --git https://github.com/foundry-rs/foundry --locked anvil - name: Install apt dependencies - if: vars.SELF_HOSTED_RUNNERS + if: env.SELF_HOSTED_RUNNERS run: | apt-get update apt-get install libpq-dev # Required for Postgres in ./watch. @@ -185,7 +185,7 @@ jobs: steps: - uses: actions/checkout@v3 - name: Get latest version of stable Rust - if: vars.SELF_HOSTED_RUNNERS == false + if: env.SELF_HOSTED_RUNNERS == false run: rustup update stable - name: Install Protoc uses: arduino/setup-protoc@e52d9eb8f7b63115df1ac544a1376fdbf5a39612