Skip to content

Commit 38bbdf7

Browse files
committed
[ ci ] Fix artefact bundling on Windows
1 parent e14e1c3 commit 38bbdf7

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

.github/workflows/test.yaml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
runs-on: ${{ matrix.os }}
2020
strategy:
2121
matrix:
22-
os: [ubuntu-latest, macos-latest, macos-13, windows-latest]
22+
os: [windows-latest, ubuntu-latest, macos-latest, macos-13]
2323
agda: ['Agda-2.7.0.1', 'Agda-2.6.4.3', 'Agda-2.6.3']
2424
fail-fast: false
2525
steps:
@@ -280,18 +280,16 @@ jobs:
280280
281281
# include text-icu DLLs
282282
$mingw64bin = (stack path $STACK_YAML_ARG --extra-library-dirs).split(", ") -match "\\bin"
283-
ls $mingw64bin
284283
cp (ls $mingw64bin *libicudt*) zip/
285284
cp (ls $mingw64bin *libicuin*) zip/
286285
cp (ls $mingw64bin *libicuuc*) zip/
287286
ls zip
288287
289288
# compress
290289
cd zip
291-
Compress-Archive * "$ARTEFACT.zip"
290+
Compress-Archive * "$($env:ARTEFACT).zip"
292291
cd ..
293-
mv zip/"$ARTEFACT.zip" .
294-
292+
mv zip/"$($env:ARTEFACT).zip" .
295293
296294
- name: 🧪 Run tests
297295
run: stack test $STACK_YAML_ARG --ta --als-path=zip/als

0 commit comments

Comments
 (0)