neiam
/koco
public · Issues · Pulls · Labels · Forks · Compare · Actions failure · Badges · Packages
⭐
Log in to mark this repository.
ci: don't fail the build when artifact upload isn't supported
8a9ddf8 · Gabriel Morell · 2026-09-14 05:05
✗
Rust CI and Docker Build / Create Release (push)
✗
Rust CI and Docker Build / Release (7z a, .exe, koco-x86_64-windows.zip, windows-latest, windows-latest, 1.92) (push)
✗
Rust CI and Docker Build / Release (tar -czf, , koco-aarch64-macos.tar.gz, macos-latest, macos-latest, 1.92) (push)
⏳
Rust CI and Docker Build
Message
{commit_body(@commit)}
Files changed
modified
.github/workflows/rust-ci.yml
+15
−0
@@ -203,18 +203,29 @@ jobs:
| 203 | 203 | |
| 204 | 204 | - name: Upload test artifact |
| 205 | 205 | uses: actions/upload-artifact@v4 |
| 206 | + # This forge has no artifact storage, so upload-artifact fails | |
| 207 | + # against it. The packages are published to the registry in the | |
| 208 | + # step above, which is the thing anyone actually installs from — | |
| 209 | + # failing the whole build over a copy nobody fetches would hide | |
| 210 | + # real failures behind a known one. | |
| 211 | + # | |
| 212 | + # Drop `continue-on-error` if artifact support lands, so a | |
| 213 | + # genuine upload failure is visible again. | |
| 214 | + continue-on-error: true | |
| 206 | 215 | with: |
| 207 | 216 | name: koco-test-${{ matrix.arch }}-linux |
| 208 | 217 | path: target/release/koco |
| 209 | 218 | |
| 210 | 219 | - name: Upload test Debian package |
| 211 | 220 | uses: actions/upload-artifact@v4 |
| 221 | + continue-on-error: true | |
| 212 | 222 | with: |
| 213 | 223 | name: koco-test-${{ matrix.arch }}-linux.deb |
| 214 | 224 | path: target/debian/*.deb |
| 215 | 225 | |
| 216 | 226 | - name: Upload test RPM package |
| 217 | 227 | uses: actions/upload-artifact@v4 |
| 228 | + continue-on-error: true | |
| 218 | 229 | with: |
| 219 | 230 | name: koco-test-${{ matrix.arch }}-linux.rpm |
| 220 | 231 | path: target/generate-rpm/*.rpm |
@@ -328,6 +339,7 @@ jobs:
| 328 | 339 | |
| 329 | 340 | - name: Upload release archive |
| 330 | 341 | uses: actions/upload-artifact@v4 |
| 342 | + continue-on-error: true | |
| 331 | 343 | with: |
| 332 | 344 | name: ${{ matrix.name }} |
| 333 | 345 | path: ${{ matrix.name }} |
@@ -335,6 +347,7 @@ jobs:
| 335 | 347 | - name: Upload Debian package |
| 336 | 348 | if: runner.os == 'Linux' |
| 337 | 349 | uses: actions/upload-artifact@v4 |
| 350 | + continue-on-error: true | |
| 338 | 351 | with: |
| 339 | 352 | name: koco-${{ matrix.os }}.deb |
| 340 | 353 | path: target/debian/*.deb |
@@ -342,6 +355,7 @@ jobs:
| 342 | 355 | - name: Upload RPM package |
| 343 | 356 | if: runner.os == 'Linux' |
| 344 | 357 | uses: actions/upload-artifact@v4 |
| 358 | + continue-on-error: true | |
| 345 | 359 | with: |
| 346 | 360 | name: koco-${{ matrix.os }}.rpm |
| 347 | 361 | path: target/generate-rpm/*.rpm |
@@ -358,6 +372,7 @@ jobs:
| 358 | 372 | |
| 359 | 373 | - name: Download all artifacts |
| 360 | 374 | uses: actions/download-artifact@v4 |
| 375 | + continue-on-error: true | |
| 361 | 376 | with: |
| 362 | 377 | path: artifacts |
| 363 | 378 |
Parents: 773ab5c