Skip to content

Commit 1152e35

Browse files
ci(github): update zip in commands.yml
1 parent 040edfc commit 1152e35

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/commands.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,13 @@ jobs:
2727

2828
- name: zip
2929
if: matrix.os != 'windows-latest'
30-
run: zip
30+
run: |
31+
touch file.txt
32+
zip archive.zip file.txt
3133
3234
- name: zip
3335
if: matrix.os == 'windows-latest'
34-
run: Compress-Archive
3536
# shell: powershell
37+
run: |
38+
touch file.txt
39+
Compress-Archive -Path file.txt -Destination archive.zip

0 commit comments

Comments
 (0)