Skip to content

Commit fa01d4a

Browse files
committed
Fixed brew link step for pkgconf
1 parent 708922f commit fa01d4a

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,8 @@ jobs:
110110
- uses: actions/checkout@v1
111111
- name: Install dependencies
112112
run: |
113+
brew unlink [email protected] || true
114+
brew unlink pkg-config || true
113115
brew install autoconf automake libtool libevent pkg-config openssl@${{ matrix.openssl }}
114116
# Handle OpenSSL 3.0 keg-only setup
115117
if [ "${{ matrix.openssl }}" == "3.0" ]; then
@@ -125,7 +127,6 @@ jobs:
125127
if ! brew list --versions pkgconf > /dev/null; then
126128
brew install pkgconf
127129
fi
128-
brew unlink [email protected] || true
129130
brew link --overwrite pkgconf
130131
- name: Build
131132
run: autoreconf -ivf && PKG_CONFIG_PATH=`brew --prefix openssl@${{ matrix.openssl }}`/lib/pkgconfig ./configure && make
@@ -139,11 +140,12 @@ jobs:
139140
- uses: actions/checkout@v1
140141
- name: Install dependencies
141142
run: |
143+
brew unlink [email protected] || true
144+
brew unlink pkg-config || true
142145
brew install autoconf automake libtool libevent pkg-config
143146
if ! brew list --versions pkgconf > /dev/null; then
144147
brew install pkgconf
145148
fi
146-
brew unlink [email protected] || true
147149
brew link --overwrite pkgconf
148150
- name: Install openssl v1.0.2
149151
run: brew install rbenv/tap/[email protected]

0 commit comments

Comments
 (0)