Skip to content

Commit

Permalink
Swap vars to env
Browse files Browse the repository at this point in the history
  • Loading branch information
paulhauner committed Jul 15, 2023
1 parent e008422 commit b62e79a
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/test-suite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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.
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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.
Expand All @@ -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
Expand Down

0 comments on commit b62e79a

Please sign in to comment.