Skip to content

Commit ff7bc2f

Browse files
committed
ziping the linux artifacts
1 parent a5a2511 commit ff7bc2f

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/build_tauri.yaml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -104,14 +104,16 @@ jobs:
104104
run: |
105105
chmod +x src-tauri/target/release/eim
106106
chmod +x src-tauri/target/release/bundle/appimage/*.AppImage
107+
cd ./src-tauri/target/release/
108+
zip -r eim.zip eim
107109
108110
- name: Upload app Linux binary
109111
uses: actions/upload-artifact@v4
110112
if: matrix.platform == 'ubuntu-22.04'
111113
with:
112114
name: ${{ matrix.binname }}-${{ github.run_number }}
113115
path: |
114-
src-tauri/target/release/eim
116+
src-tauri/target/release/eim.zip
115117
if-no-files-found: error
116118

117119
- name: Upload Release Asset Linux
@@ -121,9 +123,9 @@ jobs:
121123
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
122124
with:
123125
upload_url: ${{ github.event.release.upload_url }}
124-
asset_path: src-tauri/target/release/eim
125-
asset_name: ${{ matrix.binname }}
126-
asset_content_type: application/octet-stream
126+
asset_path: src-tauri/target/release/eim.zip
127+
asset_name: ${{ matrix.binname }}.zip
128+
asset_content_type: application/zip
127129

128130
- name: Upload app .deb
129131
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)