File tree Expand file tree Collapse file tree 1 file changed +13
-5
lines changed Expand file tree Collapse file tree 1 file changed +13
-5
lines changed Original file line number Diff line number Diff line change @@ -125,13 +125,21 @@ jobs:
125125 mkdir -p ./artifacts/windows-latest
126126 powershell Compress-Archive -Path src-tauri/target/release/bundle/nsis/* -DestinationPath ./artifacts/windows-latest/windows-latest-artifacts.zip
127127
128- # Zip all files/folders in /bundle and put in /artifacts/{os}/
129- - name : Zip assets (Other)
130- if : runner.os != 'Windows'
128+ # Zip all files/folders in /bundle/src-tauri/target/release/bundle/dmg and put in /artifacts/macos-latest/
129+ - name : Zip assets (macOS)
131130 shell : bash
131+ if : startsWith(runner.os, 'macOS')
132132 run : |
133- mkdir -p ./artifacts/${{ matrix.os }}
134- zip -r ./artifacts/${{ matrix.os }}/${{ matrix.os }}-artifacts.zip src-tauri/target/release/bundle/*
133+ mkdir -p ./artifacts/macos-latest
134+ zip -r ./artifacts/${{ matrix.os }}/${{ matrix.os }}-artifacts.zip src-tauri/target/release/bundle/dmg/*
135+
136+ # Zip only .deb file /bundle/src-tauri/target/release/bundle/deb and put in /artifacts/linux-latest/
137+ - name : Zip assets (Linux)
138+ shell : bash
139+ if : startsWith(runner.os, 'Linux')
140+ run : |
141+ mkdir -p ./artifacts/linux-latest
142+ zip -r ./artifacts/${{ matrix.os }}/${{ matrix.os }}-artifacts.zip src-tauri/target/release/bundle/deb/*.deb
135143
136144 - name : Upload artifact
137145 uses : actions/upload-artifact@v3
You can’t perform that action at this time.
0 commit comments