File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1717 - os : windows-latest
1818 ghc : ' 8.8.3' # fails due to segfault
1919
20- env :
21- build_wrapper : ${{ matrix.ghc == '8.10.1' }}
22-
2320 steps :
2421 - uses : actions/checkout@v2
2522 with :
@@ -57,19 +54,19 @@ jobs:
5754 asset_content_type : application/octet-stream
5855
5956 - name : Build Wrapper
60- if : env.build_wrapper == true
57+ if : matrix.ghc == '8.10.1'
6158 run : cabal build exe:haskell-language-server-wrapper
6259
6360 - name : Find Wrapper Binary
64- if : env.build_wrapper == true
61+ if : matrix.ghc == '8.10.1'
6562 id : find_wrapper_binary
6663 shell : bash
6764 run : |
6865 HLS_WRAPPER=$(find dist-newstyle \( -name 'haskell-language-server-wrapper' -o -name 'haskell-language-server-wrapper.exe' \) -type f)
6966 echo ::set-output name=hls_wrapper_binary::$HLS_WRAPPER
7067
7168 - name : Upload Wrapper
72- if : env.build_wrapper == true
69+ if : matrix.ghc == '8.10.1'
7370 uses : actions/upload-release-asset@v1.0.2
7471 env :
7572 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments