Skip to content

Commit b565129

Browse files
authored
Update publish.yml
1 parent 9a81573 commit b565129

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,11 +72,11 @@ jobs:
7272
# Compress Artifact
7373
- name: Compress (TGZ)
7474
if: ${{ startsWith(matrix.target, 'linux-') }}
75-
run: tar -zcvf ${{ steps.pubdir.outputs.output }}/unifi-cli_${{ matrix.target }}.tgz ${{ steps.pubdir.outputs.output }}/unifi-cli
75+
run: tar -zcvf ${{ steps.pubdir.outputs.output }}/unifi-cli_${{ matrix.target }}.tgz -C ${{ steps.pubdir.outputs.output }} unifi-cli
7676

7777
- name: Compress (ZIP)
7878
if: ${{ startsWith(matrix.target, 'win-') }}
79-
run: zip ${{ steps.pubdir.outputs.output }}/unifi-cli_${{ matrix.target }}.zip ${{ steps.pubdir.outputs.output }}/unifi-cli.exe
79+
run: zip -Dj ${{ steps.pubdir.outputs.output }}/unifi-cli_${{ matrix.target }}.zip ${{ steps.pubdir.outputs.output }}/unifi-cli.exe
8080

8181
# Upload Artifact
8282
- name: Upload Artifact (ZIP)

0 commit comments

Comments
 (0)