Skip to content

Commit 9053d69

Browse files
committed
fix workflow
1 parent c0dcefd commit 9053d69

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

.github/workflows/release.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,12 @@ jobs:
3434
- name: Publish x64
3535
run: dotnet publish src/ScreenshareHelper/ScreenshareHelper.csproj -c Release -r win-x64 --self-contained false -p:PublishSingleFile=true -o ../bin/x64
3636

37-
- name: Create ZIP Archives
37+
- name: Create ZIP Archives (Windows)
38+
shell: pwsh
3839
run: |
39-
tar -czvf bin/x86.zip -C bin/x86 .
40-
tar -czvf bin/x64.zip -C bin/x64 .
40+
Compress-Archive -Path bin/x86/* -DestinationPath bin/x86.zip
41+
Compress-Archive -Path bin/x64/* -DestinationPath bin/x64.zip
42+
4143
4244
- name: Upload Artifacts (x86)
4345
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)