Skip to content

Commit

Permalink
ci: always upload artifacts after e2e tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Fraccaman committed Jul 31, 2024
1 parent 87ac95c commit c311ac7
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ jobs:
if: steps.cache.outputs.cache-hit != 'true'
run: cargo cache --autoclean-expensive
- name: Stop sccache
if: always() && steps.sccache.outcome == 'success'
if: always() && steps.sccache.conclusion == 'success'
run: sccache --stop-server || true

build-wasm:
Expand Down Expand Up @@ -260,7 +260,7 @@ jobs:
if: steps.cache.outputs.cache-hit != 'true'
run: cargo cache --autoclean-expensive
- name: Stop sccache
if: always() && steps.sccache.outcome == 'success'
if: always() && steps.sccache.conclusion == 'success'
run: sccache --stop-server || true

check-packages:
Expand Down Expand Up @@ -302,7 +302,7 @@ jobs:
if: steps.cache.outputs.cache-hit != 'true'
run: cargo cache --autoclean-expensive
- name: Stop sccache
if: always() && steps.sccache.outcome == 'success'
if: always() && steps.sccache.conclusion == 'success'
run: sccache --stop-server || true

test-integration:
Expand Down Expand Up @@ -355,7 +355,7 @@ jobs:
if: steps.cache.outputs.cache-hit != 'true'
run: cargo cache --autoclean-expensive
- name: Stop sccache
if: always() && steps.sccache.outcome == 'success'
if: always() && steps.sccache.conclusion == 'success'
run: sccache --stop-server || true

check-benchmarks:
Expand Down Expand Up @@ -409,7 +409,7 @@ jobs:
if: steps.cache.outputs.cache-hit != 'true'
run: cargo cache --autoclean-expensive
- name: Stop sccache
if: always() && steps.sccache.outcome == 'success'
if: always() && steps.sccache.conclusion == 'success'
run: sccache --stop-server || true

build-binaries:
Expand Down Expand Up @@ -466,7 +466,7 @@ jobs:
if: steps.cache.outputs.cache-hit != 'true'
run: cargo cache --autoclean-expensive
- name: Stop sccache
if: always() && steps.sccache.outcome == 'success'
if: always() && steps.sccache.conclusion == 'success'
run: sccache --stop-server || true

test-e2e:
Expand Down Expand Up @@ -553,7 +553,7 @@ jobs:
N_OF_MACHINES: 5
INDEX: ${{ matrix.make.index }}
- name: Upload e2e logs
if: steps.e2e.outcome == 'success' || steps.e2e.outcome == 'failure'
if: success() || steps.e2e.conclusion == 'failure' || steps.e2e.conclusion == 'success'
uses: actions/upload-artifact@v4
with:
name: logs-e2e-${{ matrix.make.index }}-${{ github.event.pull_request.head.sha || github.sha }}
Expand All @@ -566,5 +566,5 @@ jobs:
if: steps.cache.outputs.cache-hit != 'true'
run: cargo cache --autoclean-expensive
- name: Stop sccache
if: always() && steps.sccache.outcome == 'success'
if: always() && steps.sccache.conclusion == 'success'
run: sccache --stop-server || true

0 comments on commit c311ac7

Please sign in to comment.