From d2e15deeecb30ecfe0c7ebb92cf764d314d1cbff Mon Sep 17 00:00:00 2001 From: Arman Bilge <armanbilge@gmail.com> Date: Tue, 27 Sep 2022 01:48:02 +0000 Subject: [PATCH] Invoke brew via full path --- .github/workflows/ci.yml | 2 +- build.sbt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d2854cadde..07aa63573e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -68,7 +68,7 @@ jobs: - name: Install s2n if: startsWith(matrix.project, 'rootNative') - run: brew install s2n + run: /home/linuxbrew/.linuxbrew/bin/brew install s2n - name: Check that workflows are up to date run: sbt githubWorkflowCheck diff --git a/build.sbt b/build.sbt index f5c29658e4..f70ad60100 100644 --- a/build.sbt +++ b/build.sbt @@ -17,7 +17,7 @@ ThisBuild / githubWorkflowOSes := Seq("ubuntu-22.04") ThisBuild / githubWorkflowJavaVersions := Seq(JavaSpec.temurin("17")) ThisBuild / githubWorkflowBuildPreamble += WorkflowStep.Run( - List("brew install s2n"), + List("/home/linuxbrew/.linuxbrew/bin/brew install s2n"), name = Some("Install s2n"), cond = Some("startsWith(matrix.project, 'rootNative')") )