@@ -115,11 +115,11 @@ jobs:
115
115
path : ${{ steps.compress_server_binary.outputs.path }}
116
116
117
117
- name : Build Wrapper
118
- if : matrix.ghc == '8.10.5'
118
+ if : matrix.ghc == '8.10.5' && matrix.os != 'macOS-latest' || matrix.ghc == '8.10.4' && matrix.os == 'macOS-latest'
119
119
run : cabal build exe:hls-wrapper -O2 $LINUX_CABAL_ARGS
120
120
121
121
- name : Compress Wrapper Binary
122
- if : matrix.ghc == '8.10.5'
122
+ if : matrix.ghc == '8.10.5' && matrix.os != 'macOS-latest' || matrix.ghc == '8.10.4' && matrix.os == 'macOS-latest'
123
123
id : compress_wrapper_binary
124
124
run : |
125
125
HLS_WRAPPER_BUILD=$(find dist-newstyle \( -name 'hls-wrapper' -o -name 'hls-wrapper.exe' \) -type f)
@@ -138,7 +138,7 @@ jobs:
138
138
fi
139
139
140
140
- name : Upload Wrapper
141
- if : matrix.ghc == '8.10.5'
141
+ if : matrix.ghc == '8.10.5' && matrix.os != 'macOS-latest' || matrix.ghc == '8.10.4' && matrix.os == 'macOS-latest'
142
142
uses : actions/upload-release-asset@v1.0.2
143
143
env :
144
144
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
@@ -149,7 +149,7 @@ jobs:
149
149
asset_content_type : ${{ steps.compress_wrapper_binary.outputs.content_type}}
150
150
151
151
- uses : actions/upload-artifact@v2
152
- if : matrix.ghc == '8.10.5'
152
+ if : matrix.ghc == '8.10.5' && matrix.os != 'macOS-latest' || matrix.ghc == '8.10.4' && matrix.os == 'macOS-latest'
153
153
with :
154
154
name : haskell-language-server-wrapper-${{ runner.OS }}${{env.EXE_EXT}}.${{ steps.compress_wrapper_binary.outputs.extension }}
155
155
path : ${{ steps.compress_wrapper_binary.outputs.path }}
0 commit comments