8000 Fix CI: Update `actions/upload-artifact` && `actions/download-artifact` by guizmaii · Pull Request #9527 · zio/zio · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Fix CI: Update actions/upload-artifact && actions/download-artifact #9527

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 1, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 15 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,10 +105,11 @@ jobs:
yarn build

- name: Cache Website's Build Artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: website-artifact
path: ./website/build
overwrite: true

- name: Print All Generated Files
run: find ./website/build -print
Expand Down Expand Up @@ -138,34 +139,39 @@ jobs:
run: sbt -v ++${{ matrix.scala }} test${{ matrix.platform }}
- name: Upload Test Results 2.12
if: ${{ startsWith(matrix.scala, '2.12.') }}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: zio-test-output-2.12
path: ./**/test-reports-zio/output.json
overwrite: true
- name: Upload Test Results 3
if: ${{ startsWith(matrix.scala, '3.') }}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: zio-test-output-3
path: ./**/test-reports-zio/output.json
overwrite: true
- name: Report Test Death 2.12
if: ${{ failure() && startsWith(matrix.scala, '2.12.') }}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: zio-test-debug-2.12
path: ./**/test-reports-zio/**_debug.txt
overwrite: true
- name: Report Test Death 2.13
if: ${{ failure() && startsWith(matrix.scala, '2.13.') }}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: zio-test-debug-2.13
path: ./**/test-reports-zio/**_debug.txt
overwrite: true
- name: Report Test Death 3.x
if: ${{ failure() && startsWith(matrix.scala, '3.') }}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: zio-test-debug-3.x
path: ./**/test-reports-zio/**_debug.txt
overwrite: true

testJvms:
runs-on: ubuntu-20.04
Expand All @@ -192,10 +198,11 @@ jobs:

- name: Report Test Death JVM 11
if: ${{ failure() && startsWith(matrix.java, '11') }}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: zio-test-debug-JVM-11
path: ./**/test-reports-zio/**_debug.txt
overwrite: true

testPlatforms:
runs-on: ubuntu-20.04
Expand Down Expand Up @@ -270,7 +277,7 @@ jobs:
uses: actions/checkout@v4.1.1
with:
fetch-depth: 0
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: website-artifact
path: website-artifact
Expand Down
Loading
0