Skip to content

Commit e2e7b91

Browse files
committed
Don't use .tgz extension, always use .tar.gz. More tools support that.
1 parent 9c6c0f5 commit e2e7b91

File tree

1 file changed

+28
-28
lines changed

1 file changed

+28
-28
lines changed

.github/workflows/build.yml

+28-28
Original file line numberDiff line numberDiff line change
@@ -104,13 +104,13 @@ jobs:
104104
- name: Capture build folder as artifact
105105
if: ${{ failure() }}
106106
shell: bash
107-
run: tar cfz build.tgz build
107+
run: tar cfz build.tar.gz build
108108
- name: Upload build folder
109109
if: ${{ failure() }}
110110
uses: actions/upload-artifact@v4
111111
with:
112112
name: windows-build-folder
113-
path: build.tgz
113+
path: build.tar.gz
114114
- name: Capture installed folder as artifact
115115
shell: bash
116116
run: |
@@ -185,23 +185,23 @@ jobs:
185185
- name: Capture build folder as artifact
186186
if: ${{ failure() }}
187187
shell: bash
188-
run: tar cfz build.tgz build
188+
run: tar cfz build.tar.gz build
189189
- name: Upload build folder
190190
if: ${{ failure() }}
191191
uses: actions/upload-artifact@v4
192192
with:
193193
name: macos-build-folder
194-
path: build.tgz
194+
path: build.tar.gz
195195
- name: Capture installed folder as artifact
196196
shell: bash
197197
run: |
198-
tar -c -v -f cwipc_osx1015_${{ github.ref_name }}.tgz -z -C installed .
198+
tar -c -v -f cwipc_osx1015_${{ github.ref_name }}.tar.gz -z -C installed .
199199
ls -l
200200
- name: Upload installed folder
201201
uses: actions/upload-artifact@v4
202202
with:
203-
name: cwipc_osx1015_${{ github.ref_name }}.tgz
204-
path: cwipc_osx1015_${{ github.ref_name }}.tgz
203+
name: cwipc_osx1015_${{ github.ref_name }}.tar.gz
204+
path: cwipc_osx1015_${{ github.ref_name }}.tar.gz
205205

206206
build-ubuntu2204:
207207
name: build-ubuntu2204
@@ -251,23 +251,23 @@ jobs:
251251
- name: Capture build folder as artifact
252252
if: ${{ failure() }}
253253
shell: bash
254-
run: tar cfz build.tgz build
254+
run: tar cfz build.tar.gz build
255255
- name: Upload build folder
256256
if: ${{ failure() }}
257257
uses: actions/upload-artifact@v4
258258
with:
259259
name: ubuntu2204-build-folder
260-
path: build.tgz
260+
path: build.tar.gz
261261
- name: Capture installed folder as artifact
262262
shell: bash
263263
run: |
264-
tar -c -v -f cwipc_ubuntu2204_${{ github.ref_name }}.tgz -z -C installed .
264+
tar -c -v -f cwipc_ubuntu2204_${{ github.ref_name }}.tar.gz -z -C installed .
265265
ls -la
266266
- name: Upload installed folder
267267
uses: actions/upload-artifact@v4
268268
with:
269-
name: cwipc_ubuntu2204_${{ github.ref_name }}.tgz
270-
path: cwipc_ubuntu2204_${{ github.ref_name }}.tgz
269+
name: cwipc_ubuntu2204_${{ github.ref_name }}.tar.gz
270+
path: cwipc_ubuntu2204_${{ github.ref_name }}.tar.gz
271271
- name: Upload debian package
272272
uses: actions/upload-artifact@v4
273273
with:
@@ -344,13 +344,13 @@ jobs:
344344
- name: Capture build folder as artifact
345345
if: ${{ failure() }}
346346
shell: bash
347-
run: tar cfz build.tgz build
347+
run: tar cfz build.tar.gz build
348348
- name: Upload build folder
349349
if: ${{ failure() }}
350350
uses: actions/upload-artifact@v4
351351
with:
352352
name: android-build-folder
353-
path: build.tgz
353+
path: build.tar.gz
354354

355355
- name: Upload installer package
356356
uses: actions/upload-artifact@v4
@@ -407,23 +407,23 @@ jobs:
407407
- name: Capture build folder as artifact
408408
if: ${{ failure() }}
409409
shell: bash
410-
run: tar cfz build.tgz build
410+
run: tar cfz build.tar.gz build
411411
- name: Upload build folder
412412
if: ${{ failure() }}
413413
uses: actions/upload-artifact@v4
414414
with:
415415
name: ubuntu2404-build-folder
416-
path: build.tgz
416+
path: build.tar.gz
417417
- name: Capture installed folder as artifact
418418
shell: bash
419419
run: |
420-
tar -c -v -f cwipc_ubuntu2404_${{ github.ref_name }}.tgz -z -C installed .
420+
tar -c -v -f cwipc_ubuntu2404_${{ github.ref_name }}.tar.gz -z -C installed .
421421
ls -la
422422
- name: Upload installed folder
423423
uses: actions/upload-artifact@v4
424424
with:
425-
name: cwipc_ubuntu2404_${{ github.ref_name }}.tgz
426-
path: cwipc_ubuntu2404_${{ github.ref_name }}.tgz
425+
name: cwipc_ubuntu2404_${{ github.ref_name }}.tar.gz
426+
path: cwipc_ubuntu2404_${{ github.ref_name }}.tar.gz
427427
- name: Upload debian package
428428
uses: actions/upload-artifact@v4
429429
with:
@@ -479,12 +479,12 @@ jobs:
479479
- name: Download MacOS installed folder
480480
uses: actions/download-artifact@v4
481481
with:
482-
name: cwipc_osx1015_${{ github.ref_name }}.tgz
482+
name: cwipc_osx1015_${{ github.ref_name }}.tar.gz
483483
path: ../Assets/
484484
- name: Download Ubuntu 22.04 installed folder
485485
uses: actions/download-artifact@v4
486486
with:
487-
name: cwipc_ubuntu2204_${{ github.ref_name }}.tgz
487+
name: cwipc_ubuntu2204_${{ github.ref_name }}.tar.gz
488488
path: ../Assets/
489489
- name: Download debian package for 22.04
490490
uses: actions/download-artifact@v4
@@ -494,7 +494,7 @@ jobs:
494494
- name: Download Ubuntu 24.04 installed folder
495495
uses: actions/download-artifact@v4
496496
with:
497-
name: cwipc_ubuntu2404_${{ github.ref_name }}.tgz
497+
name: cwipc_ubuntu2404_${{ github.ref_name }}.tar.gz
498498
path: ../Assets/
499499
- name: Download debian package for 24.04
500500
uses: actions/download-artifact@v4
@@ -607,24 +607,24 @@ jobs:
607607
GITHUB_TOKEN: ${{ github.token }}
608608
with:
609609
upload_url: ${{ steps.create_release.outputs.upload_url }}
610-
asset_path: ../Assets/cwipc_osx1015_${{ github.ref_name }}.tgz
611-
asset_name: cwipc-macos1014-intel-${{ github.ref_name }}-built.tgz
610+
asset_path: ../Assets/cwipc_osx1015_${{ github.ref_name }}.tar.gz
611+
asset_name: cwipc-macos1014-intel-${{ github.ref_name }}-built.tar.gz
612612
asset_content_type: application/gzip
613613
- name: Upload Ubuntu 22.04 installed folder
614614
uses: actions/upload-release-asset@v1
615615
env:
616616
GITHUB_TOKEN: ${{ github.token }}
617617
with:
618618
upload_url: ${{ steps.create_release.outputs.upload_url }}
619-
asset_path: ../Assets/cwipc_ubuntu2204_${{ github.ref_name }}.tgz
620-
asset_name: cwipc-ubuntu2204-${{ github.ref_name }}-built.tgz
619+
asset_path: ../Assets/cwipc_ubuntu2204_${{ github.ref_name }}.tar.gz
620+
asset_name: cwipc-ubuntu2204-${{ github.ref_name }}-built.tar.gz
621621
asset_content_type: application/gzip
622622
- name: Upload Ubuntu 24.04 installed folder
623623
uses: actions/upload-release-asset@v1
624624
env:
625625
GITHUB_TOKEN: ${{ github.token }}
626626
with:
627627
upload_url: ${{ steps.create_release.outputs.upload_url }}
628-
asset_path: ../Assets/cwipc_ubuntu2404_${{ github.ref_name }}.tgz
629-
asset_name: cwipc-ubuntu2404-${{ github.ref_name }}-built.tgz
628+
asset_path: ../Assets/cwipc_ubuntu2404_${{ github.ref_name }}.tar.gz
629+
asset_name: cwipc-ubuntu2404-${{ github.ref_name }}-built.tar.gz
630630
asset_content_type: application/gzip

0 commit comments

Comments
 (0)