|
30 | 30 | - name: Build |
31 | 31 | run: rustup target add x86_64-apple-darwin && cargo tauri build --target x86_64-apple-darwin |
32 | 32 |
|
| 33 | + - name: Codesign |
| 34 | + run: codesign --force --deep --sign - src-tauri/target/x86_64-apple-darwin/release/bundle/macos/Adapt.app |
| 35 | + |
33 | 36 | - name: Upload artifact x86_64 |
34 | 37 | uses: actions/upload-artifact@v4 |
35 | 38 | with: |
|
57 | 60 | - name: Build |
58 | 61 | run: rustup target add aarch64-apple-darwin && cargo tauri build --target aarch64-apple-darwin |
59 | 62 |
|
| 63 | + - name: Codesign |
| 64 | + run: codesign --force --deep --sign - src-tauri/target/aarch64-apple-darwin/release/bundle/macos/Adapt.app |
| 65 | + |
60 | 66 | - name: Upload artifact aarch64 |
61 | 67 | uses: actions/upload-artifact@v4 |
62 | 68 | with: |
@@ -221,20 +227,12 @@ jobs: |
221 | 227 | mv darwin-aarch64/macos/* darwin-aarch64 |
222 | 228 | mv darwin-aarch64/dmg/* darwin-aarch64 |
223 | 229 | rm -rf darwin-*/macos darwin-*/dmg darwin-*/*.sh darwin-*/*.icns darwin-*/support |
224 | | - cd darwin-x86_64/Adapt.app |
225 | | - zip -r ../Adapt.app.zip . |
226 | | - cd ../../darwin-aarch64/Adapt.app |
227 | | - zip -r ../Adapt.app.zip . |
228 | | - cd ../.. |
229 | | - rm -rf darwin-x86_64/Adapt.app darwin-aarch64/Adapt.app |
230 | 230 | mv darwin-x86_64/*.dmg darwin-x86_64/Adapt-installer.dmg |
231 | 231 | mv darwin-aarch64/*.dmg darwin-aarch64/Adapt-installer.dmg |
232 | 232 | mv windows-x86_64/*-setup.exe windows-x86_64/Adapt-setup.exe |
233 | | - mv windows-x86_64/*.nsis.zip windows-x86_64/Adapt-nsis.zip |
234 | | - mv windows-x86_64/*.nsis.zip.sig windows-x86_64/Adapt-nsis.zip.sig |
| 233 | + mv windows-x86_64/*-setup.exe.sig windows-x86_64/Adapt-setup.exe.sig |
235 | 234 | mv windows-i686/*-setup.exe windows-i686/Adapt-setup.exe |
236 | | - mv windows-i686/*.nsis.zip windows-i686/Adapt-nsis.zip |
237 | | - mv windows-i686/*.nsis.zip.sig windows-i686/Adapt-nsis.zip.sig |
| 235 | + mv windows-i686/*-setup.exe.sig windows-i686/Adapt-setup.exe.sig |
238 | 236 | mv linux-x86_64/*.AppImage linux-x86_64/Adapt.AppImage |
239 | 237 | mv linux-x86_64/*.AppImage.tar.gz linux-x86_64/Adapt.AppImage.tar.gz |
240 | 238 | mv linux-x86_64/*.AppImage.tar.gz.sig linux-x86_64/Adapt.AppImage.tar.gz.sig |
@@ -275,12 +273,12 @@ jobs: |
275 | 273 | "url": "https://download.adapt.chat/webclient/darwin-aarch64/Adapt.app.tar.gz" |
276 | 274 | }, |
277 | 275 | "windows-x86_64": { |
278 | | - "signature": open('windows-x86_64/Adapt-nsis.zip.sig', 'r').read(), |
279 | | - "url": "https://download.adapt.chat/webclient/windows-x86_64/Adapt-nsis.zip" |
| 276 | + "signature": open('windows-x86_64/Adapt-setup.exe.sig', 'r').read(), |
| 277 | + "url": "https://download.adapt.chat/webclient/windows-x86_64/Adapt-setup.exe" |
280 | 278 | }, |
281 | 279 | "windows-i686": { |
282 | | - "signature": open('windows-i686/Adapt-nsis.zip.sig', 'r').read(), |
283 | | - "url": "https://download.adapt.chat/webclient/windows-i686/Adapt-nsis.zip" |
| 280 | + "signature": open('windows-i686/Adapt-setup.exe.sig', 'r').read(), |
| 281 | + "url": "https://download.adapt.chat/webclient/windows-i686/Adapt-setup.exe" |
284 | 282 | }, |
285 | 283 | "linux-x86_64": { |
286 | 284 | "signature": open('linux-x86_64/Adapt.AppImage.tar.gz.sig', 'r').read(), |
|
0 commit comments