Skip to content

Commit 1a66953

Browse files
committed
Give up on the env var idea
1 parent 32c5937 commit 1a66953

1 file changed

Lines changed: 3 additions & 6 deletions

File tree

.github/workflows/build.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,6 @@ jobs:
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 }}

0 commit comments

Comments
 (0)