Skip to content

Commit c2aa504

Browse files
ci(github): fix zip on windows in commands.yml
1 parent 74db500 commit c2aa504

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/commands.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@ jobs:
2626
run: ls
2727

2828
- name: zip
29-
shell: bash
30-
run: |
31-
if [[ '${{ matrix.os }}' == 'windows'* ]]; then
32-
Compress-Archive
33-
else
34-
zip
35-
fi
29+
if: matrix.os != 'windows'
30+
run: zip
31+
32+
- name: zip
33+
if: matrix.os == 'windows'
34+
run: Compress-Archive
35+
# shell: powershell

0 commit comments

Comments
 (0)