|
1 | 1 | name: Build & Test GUI (branch) |
2 | 2 |
|
| 3 | +permissions: |
| 4 | + contents: write |
| 5 | + |
3 | 6 | on: |
4 | 7 | push: |
5 | 8 | branches: [v1.1.1] |
@@ -103,39 +106,21 @@ jobs: |
103 | 106 | } |
104 | 107 | $json | ConvertTo-Json -Depth 100 | Set-Content -Encoding utf8 $confPath |
105 | 108 |
|
| 109 | + # Use tauri-action (same as release.yml) — handles signing, bundling, etc. |
| 110 | + # tagName is empty so it won't create a release, just builds |
106 | 111 | - name: Build Tauri app |
| 112 | + uses: tauri-apps/tauri-action@v0 |
107 | 113 | env: |
| 114 | + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
108 | 115 | APPLE_SIGNING_IDENTITY: ${{ startsWith(matrix.platform, 'macos') && '-' || '' }} |
109 | | - run: | |
110 | | - cd src-tauri |
111 | | - cargo install tauri-cli --version "^2" --locked || true |
112 | | - cd .. |
113 | | - cargo tauri build ${{ matrix.args }} |
114 | | -
|
115 | | - - name: Upload artifacts (macOS .dmg) |
116 | | - if: startsWith(matrix.platform, 'macos') |
117 | | - uses: actions/upload-artifact@v4 |
118 | 116 | with: |
119 | | - name: get_MNV-${{ matrix.label }} |
120 | | - path: src-tauri/target/${{ matrix.rust_target }}/release/bundle/dmg/*.dmg |
121 | | - retention-days: 14 |
| 117 | + args: ${{ matrix.args }} |
| 118 | + projectPath: src-tauri |
122 | 119 |
|
123 | | - - name: Upload artifacts (Linux .deb + .AppImage) |
124 | | - if: matrix.platform == 'ubuntu-22.04' |
125 | | - uses: actions/upload-artifact@v4 |
126 | | - with: |
127 | | - name: get_MNV-${{ matrix.label }} |
128 | | - path: | |
129 | | - src-tauri/target/${{ matrix.rust_target }}/release/bundle/deb/*.deb |
130 | | - src-tauri/target/${{ matrix.rust_target }}/release/bundle/appimage/*.AppImage |
131 | | - retention-days: 14 |
132 | | - |
133 | | - - name: Upload artifacts (Windows .msi + .exe) |
134 | | - if: matrix.platform == 'windows-latest' |
| 120 | + - name: Upload all bundles |
135 | 121 | uses: actions/upload-artifact@v4 |
136 | 122 | with: |
137 | 123 | name: get_MNV-${{ matrix.label }} |
138 | | - path: | |
139 | | - src-tauri/target/${{ matrix.rust_target }}/release/bundle/msi/*.msi |
140 | | - src-tauri/target/${{ matrix.rust_target }}/release/bundle/nsis/*.exe |
| 124 | + path: src-tauri/target/${{ matrix.rust_target }}/release/bundle/**/* |
141 | 125 | retention-days: 14 |
| 126 | + if-no-files-found: error |
0 commit comments