Skip to content

Commit 6aff4b4

Browse files
[no ci] correctly skip step
1 parent 376bea3 commit 6aff4b4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,7 @@ jobs:
214214
echo MACOSX_DEPLOYMENT_TARGET=10.10.0 > $GITHUB_ENV
215215
echo SDKROOT=${{ github.workspace }}/${{ secrets.MacOSX1014sdk && 'MacOSX10.14.sdk' || '../MacOSX-SDKs/MacOSX10.13.sdk' }} >> $GITHUB_ENV
216216
- name: Prepare Legacy sdk
217+
if: steps.cache-openssl32.outputs.cache-hit != 'true'
217218
run: |
218219
cd "$SDKROOT/usr/include"
219220
ln -s "$(xcrun --sdk macosx --show-sdk-path)/usr/include/c++" c++
@@ -267,6 +268,7 @@ jobs:
267268
echo MACOSX_DEPLOYMENT_TARGET=10.10.0 > $GITHUB_ENV
268269
echo SDKROOT=${{ github.workspace }}/${{ secrets.MacOSX1014sdk && 'MacOSX10.14.sdk' || '../MacOSX-SDKs/MacOSX10.13.sdk' }} >> $GITHUB_ENV
269270
- name: Prepare Legacy sdk
271+
if: steps.cache-openssl64.outputs.cache-hit != 'true'
270272
run: |
271273
cd "$SDKROOT/usr/include"
272274
ln -s "$(xcrun --sdk macosx --show-sdk-path)/usr/include/c++" c++
@@ -402,6 +404,7 @@ jobs:
402404
echo MACOSX_DEPLOYMENT_TARGET=10.10.0 > $GITHUB_ENV
403405
echo SDKROOT=${{ github.workspace }}/${{ secrets.MacOSX1014sdk && 'MacOSX10.14.sdk' || '../MacOSX-SDKs/MacOSX10.13.sdk' }} >> $GITHUB_ENV
404406
- name: Prepare Legacy sdk
407+
if: steps.cache.outputs.cache-hit != 'true'
405408
run: |
406409
cd "$SDKROOT/usr/include"
407410
ln -s "$(xcrun --sdk macosx --show-sdk-path)/usr/include/c++" c++

0 commit comments

Comments
 (0)