Skip to content

Commit c79f499

Browse files
authored
Update macOS workflows .tar.gz to .zip
1 parent 7c9f404 commit c79f499

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/macos.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,14 +53,14 @@ jobs:
5353
chmod -x dist/webui-2.dylib
5454
chmod -x dist/debug/webui-2.dylib
5555
mv dist/ $artifact
56-
tar -czvf $artifact.tar.gz $artifact
56+
zip -r $artifact.zip $artifact
5757
# Add the artifact name as GitHub environment variable for usage in later steps.
5858
echo "ARTIFACT=$artifact" >> $GITHUB_ENV
5959
- name: Upload Artifact
6060
uses: actions/upload-artifact@v3
6161
with:
6262
name: ${{ env.ARTIFACT }}
63-
path: ${{ env.ARTIFACT }}
63+
path: ${{ env.ARTIFACT }}.zip
6464
- name: Prepare Release
6565
if: github.ref_type == 'tag' || (github.ref_name == 'main' && github.event_name == 'push')
6666
run: |
@@ -84,7 +84,7 @@ jobs:
8484
if: github.ref_type == 'tag' || (github.ref_name == 'main' && github.event_name == 'push')
8585
uses: ncipollo/release-action@v1
8686
with:
87-
artifacts: ${{ env.ARTIFACT }}.tar.gz
87+
artifacts: ${{ env.ARTIFACT }}.zip
8888
tag: ${{ env.TAG }}
8989
body: ${{ env.BODY }}
9090
name: ${{ env.TITLE }}

0 commit comments

Comments
 (0)