@@ -180,6 +180,7 @@ jobs:
180
180
build-arm :
181
181
name : Build ARM binary
182
182
runs-on : [self-hosted, Linux, ARM64, maerwald]
183
+ environment : CI
183
184
env :
184
185
AWS_SECRET_ACCESS_KEY : ${{ secrets.AWS_SECRET_ACCESS_KEY }}
185
186
AWS_ACCESS_KEY_ID : ${{ secrets.AWS_ACCESS_KEY_ID }}
@@ -231,7 +232,7 @@ jobs:
231
232
retention-days : 2
232
233
name : artifacts-arm-${{ matrix.ghc }}
233
234
path : |
234
- ./out-${{ matrix.platform .ARTIFACT }}-${{ matrix.ghc }}.tar
235
+ ./out-${{ env .ARTIFACT }}-${{ matrix.ghc }}.tar
235
236
236
237
build-freebsd :
237
238
name : Build binary (FreeBSD)
@@ -281,7 +282,7 @@ jobs:
281
282
# # The environments can be seen in https://github.com/haskell/haskell-language-server/settings/environments
282
283
# # assuming you have the proper permissions.
283
284
environment : CI
284
- runs-on : $ {{ matrix.platform.os }}
285
+ runs-on : ${{ matrix.platform.os }}
285
286
env :
286
287
MACOSX_DEPLOYMENT_TARGET : 10.13
287
288
AWS_SECRET_ACCESS_KEY : ${{ secrets.AWS_SECRET_ACCESS_KEY }}
@@ -326,7 +327,7 @@ jobs:
326
327
retention-days : 2
327
328
name : artifacts-mac-${{ matrix.platform.ARCH }}-${{ matrix.ghc }}
328
329
path : |
329
- ./out-${{ matrix.platform.ARCH }}-${{ matrix.ghc }}.tar
330
+ ./out-${{ matrix.platform.ARTIFACT }}-${{ matrix.ghc }}.tar
330
331
331
332
build-win :
332
333
name : Build binary (Win)
@@ -714,7 +715,7 @@ jobs:
714
715
run : |
715
716
set -eux
716
717
for dir in out/artifacts-win-* ; do
717
- mv -f "${dir}"/* "${dir}"/.. /
718
+ cp -a "${dir}"/* out /
718
719
rm -r "${dir}"
719
720
done
720
721
shell : bash
0 commit comments