Skip to content

Commit 65ff1fe

Browse files
authoredNov 11, 2020
Merge pull request #583 from bubba/github-actions-replace-set-env
Replace deprecated set-env with temporary files
2 parents a359337 + 946f0ac commit 65ff1fe

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed
 

‎.github/workflows/build.yml

+2-4
Original file line numberDiff line numberDiff line change
@@ -47,13 +47,11 @@ jobs:
4747
4848
- name: Set some window specific things
4949
if: matrix.os == 'windows-latest'
50-
run: |
51-
echo '::set-env name=EXE_EXT::.exe'
50+
run: echo "EXE_EXT=.exe" >> $GITHUB_ENV
5251

5352
- name: Set some linux specific things
5453
if: matrix.os == 'ubuntu-latest'
55-
run: |
56-
echo '::set-env name=LINUX_CABAL_ARGS::--enable-executable-static --ghc-options=-split-sections'
54+
run: echo "LINUX_CABAL_ARGS=--enable-executable-static --ghc-options=-split-sections" >> $GITHUB_ENV
5755

5856
- name: Build Server
5957
# Try building it twice in case of flakey builds on Windows

0 commit comments

Comments
 (0)
Please sign in to comment.