From dc68e2d754f095f3a387068dd5bbe8a0695ac413 Mon Sep 17 00:00:00 2001 From: spezifisch Date: Wed, 7 Aug 2024 06:32:14 +0200 Subject: [PATCH] fix other mac paths --- .github/workflows/build-macos-arm.yml | 4 ++-- .github/workflows/build-macos-intel.yml | 8 ++++---- .github/workflows/lint-macos.yml | 8 ++++---- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/build-macos-arm.yml b/.github/workflows/build-macos-arm.yml index 215993d..9c760b4 100644 --- a/.github/workflows/build-macos-arm.yml +++ b/.github/workflows/build-macos-arm.yml @@ -32,8 +32,8 @@ jobs: - name: Export paths run: | - echo "C_INCLUDE_PATH=/usr/local/include:/opt/homebrew/include:\$C_INCLUDE_PATH" >> $GITHUB_ENV - echo "LIBRARY_PATH=/usr/local/lib:/opt/homebrew/lib:\$LIBRARY_PATH" >> $GITHUB_ENV + echo "C_INCLUDE_PATH=/usr/local/include:/opt/homebrew/include:$C_INCLUDE_PATH" >> $GITHUB_ENV + echo "LIBRARY_PATH=/usr/local/lib:/opt/homebrew/lib:$LIBRARY_PATH" >> $GITHUB_ENV echo "CGO_CFLAGS=-I/usr/local/include -I/opt/homebrew/include" >> $GITHUB_ENV echo "CGO_LDFLAGS=-L/usr/local/lib -L/opt/homebrew/lib" >> $GITHUB_ENV diff --git a/.github/workflows/build-macos-intel.yml b/.github/workflows/build-macos-intel.yml index 2deaf36..b49bf31 100644 --- a/.github/workflows/build-macos-intel.yml +++ b/.github/workflows/build-macos-intel.yml @@ -32,10 +32,10 @@ jobs: - name: Export paths run: | - echo "export C_INCLUDE_PATH=/usr/local/include:/opt/homebrew/include:$C_INCLUDE_PATH" >> $GITHUB_ENV - echo "export LIBRARY_PATH=/usr/local/lib:/opt/homebrew/lib:$LIBRARY_PATH" >> $GITHUB_ENV - echo "export CGO_CFLAGS=\"-I/usr/local/include -I/opt/homebrew/include\"" >> $GITHUB_ENV - echo "export CGO_LDFLAGS=\"-L/usr/local/lib -L/opt/homebrew/lib\"" >> $GITHUB_ENV + echo "C_INCLUDE_PATH=/usr/local/include:/opt/homebrew/include:$C_INCLUDE_PATH" >> $GITHUB_ENV + echo "LIBRARY_PATH=/usr/local/lib:/opt/homebrew/lib:$LIBRARY_PATH" >> $GITHUB_ENV + echo "CGO_CFLAGS=-I/usr/local/include -I/opt/homebrew/include" >> $GITHUB_ENV + echo "CGO_LDFLAGS=-L/usr/local/lib -L/opt/homebrew/lib" >> $GITHUB_ENV - name: Compile run: go build diff --git a/.github/workflows/lint-macos.yml b/.github/workflows/lint-macos.yml index 1785000..62d8587 100644 --- a/.github/workflows/lint-macos.yml +++ b/.github/workflows/lint-macos.yml @@ -23,10 +23,10 @@ jobs: - name: Export paths run: | - echo "export C_INCLUDE_PATH=/usr/local/include:/opt/homebrew/include:$C_INCLUDE_PATH" >> $GITHUB_ENV - echo "export LIBRARY_PATH=/usr/local/lib:/opt/homebrew/lib:$LIBRARY_PATH" >> $GITHUB_ENV - echo "export CGO_CFLAGS=\"-I/usr/local/include -I/opt/homebrew/include\"" >> $GITHUB_ENV - echo "export CGO_LDFLAGS=\"-L/usr/local/lib -L/opt/homebrew/lib\"" >> $GITHUB_ENV + echo "C_INCLUDE_PATH=/usr/local/include:/opt/homebrew/include:$C_INCLUDE_PATH" >> $GITHUB_ENV + echo "LIBRARY_PATH=/usr/local/lib:/opt/homebrew/lib:$LIBRARY_PATH" >> $GITHUB_ENV + echo "CGO_CFLAGS=-I/usr/local/include -I/opt/homebrew/include" >> $GITHUB_ENV + echo "CGO_LDFLAGS=-L/usr/local/lib -L/opt/homebrew/lib" >> $GITHUB_ENV - name: golangci-lint uses: golangci/golangci-lint-action@v3