2626 args : ' --target aarch64-apple-darwin'
2727 - platform : ' macos-latest'
2828 args : ' --target x86_64-apple-darwin'
29- - platform : ' ubuntu-22.04'
30- args : ' '
3129 - platform : ' windows-latest'
3230 args : ' '
3331
@@ -52,37 +50,12 @@ jobs:
5250 with :
5351 workspaces : ' ./src-tauri -> target'
5452
55- - name : Install dependencies (ubuntu only)
56- if : matrix.platform == 'ubuntu-22.04'
57- run : |
58- sudo apt-get update
59- sudo apt-get install -y libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf
60-
6153 - name : Install frontend dependencies
6254 run : npm install
6355
64- - name : Lint frontend (ubuntu only)
65- if : matrix.platform == 'ubuntu-22.04'
66- run : npm run lint
67-
68- - name : Check Rust formatting (ubuntu only)
69- if : matrix.platform == 'ubuntu-22.04'
70- run : cd src-tauri && cargo fmt --all -- --check
71-
72- - name : Check Rust code with Clippy (ubuntu only)
73- if : matrix.platform == 'ubuntu-22.04'
74- run : cd src-tauri && cargo clippy -- -D warnings
75-
7656 - name : Build the app
7757 run : npm run tauri:build ${{ matrix.args }}
7858
79- - name : Upload artifacts (ubuntu only)
80- if : matrix.platform == 'ubuntu-22.04'
81- uses : actions/upload-artifact@v4
82- with :
83- name : linux-artifacts
84- path : src-tauri/target/release/bundle/
85-
8659 - name : Upload artifacts (windows only)
8760 if : matrix.platform == 'windows-latest'
8861 uses : actions/upload-artifact@v4
@@ -128,8 +101,7 @@ jobs:
128101 --notes "Download the appropriate installer for your platform:
129102
130103 - **Windows**: .msi or .exe file
131- - **macOS**: .dmg file (choose Intel or Apple Silicon)
132- - **Linux**: .deb or .AppImage file"
104+ - **macOS**: .dmg file (choose Intel or Apple Silicon)"
133105
134106 # Upload all artifacts
135- find artifacts -type f \( -name "*.msi" -o -name "*.exe" -o -name "*.dmg" -o -name "*.deb" -o -name "*.AppImage" \) -exec gh release upload ${{ github.ref_name }} {} \;
107+ find artifacts -type f \( -name "*.msi" -o -name "*.exe" -o -name "*.dmg" \) -exec gh release upload ${{ github.ref_name }} {} \;
0 commit comments