Skip to content

Commit

Permalink
let's try without export
Browse files Browse the repository at this point in the history
  • Loading branch information
spezifisch committed Aug 7, 2024
1 parent c547e37 commit 2a402b7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build-macos-arm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 2a402b7

Please sign in to comment.