Skip to content

Commit

Permalink
Fix conditionals
Browse files Browse the repository at this point in the history
  • Loading branch information
z8v committed Aug 27, 2023
1 parent 005c0ca commit c3f283d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
common:ci --announce_rc=false
EOF
- name: Start remote Nix server
if: ${{ matrix.withNixRemote }} == "true" && ${{ matrix.os }} == "ubuntu-latest"
if: ${{ matrix.withNixRemote == "true" }} && ${{ matrix.os == "ubuntu-latest" }}
run: |
# Generate temporary SSH keys.
mkdir -p $HOME/.ssh
Expand All @@ -67,9 +67,8 @@ jobs:
- name: Build & test
env:
BZLMOD_ENABLED: ${{ matrix.bzlmodEnabled }}
NIX_REMOTE_ENABLED: ${{ matrix.withNixRemote }}
run: |
if [ "$NIX_REMOTE_ENABLED" == "true" ]; then
if [ ${{ matrix.withNixRemote }} = true ]; then
export BAZEL_NIX_REMOTE=nix-server
fi
Expand Down

0 comments on commit c3f283d

Please sign in to comment.