Skip to content

Commit 82b45b7

Browse files
committed
Replace deprecated set-env with temporary files
1 parent 8682517 commit 82b45b7

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)