diff options
Diffstat (limited to '.github/workflows/release.yml')
| -rw-r--r-- | .github/workflows/release.yml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5baabea..55885c8 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -33,6 +33,13 @@ jobs: echo 'export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig' >> $GITHUB_ENV echo 'export PKG_CONFIG_SYSROOT_DIR=/usr/local' >> $GITHUB_ENV + - name: Export environment variables for macOS + if: matrix.os == 'macos-latest' + run: | + export PKG_CONFIG_ALLOW_CROSS=1 + export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig + export PKG_CONFIG_SYSROOT_DIR=/usr/local + - name: Set up Rust uses: actions-rs/toolchain@v1 with: |