Skip to content

Commit

Permalink
chore, ci: Bump upload/download-artifacts to v4
Browse files Browse the repository at this point in the history
  • Loading branch information
iisakkirotko committed Mar 18, 2024
1 parent dac6b35 commit 59173ed
Showing 1 changed file with 11 additions and 14 deletions.
25 changes: 11 additions & 14 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ jobs:

- name: Upload Test artifacts
if: always()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: solara-builds-${{ github.run_number }}
path: |
Expand Down Expand Up @@ -145,7 +145,7 @@ jobs:

- uses: actions/checkout@v4

- uses: actions/download-artifact@v2
- uses: actions/download-artifact@v4
with:
name: solara-builds-${{ github.run_number }}

Expand Down Expand Up @@ -204,8 +204,7 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

- uses: actions/download-artifact@v2
- uses: actions/download-artifact@v4
with:
name: solara-builds-${{ github.run_number }}

Expand Down Expand Up @@ -257,14 +256,14 @@ jobs:

- name: Upload Test artifacts
if: steps.install_no_lock.outputs.exit_code != 'NO_DIFF'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: test-results
path: test-results

- name: Upload CI package locks
if: steps.install_no_lock.outputs.exit_code != 'NO_DIFF' && github.event_name == 'schedule' || steps.prepare.outputs.locks_exist == 'false'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ci-package-locks-integration-os${{ matrix.os }}-python${{ matrix.python-version }}-voila${{ matrix.voila }}-ipywidgets${{ matrix.ipywidgets }}
path: ${{ env.LOCK_FILE_LOCATION }}
Expand Down Expand Up @@ -295,8 +294,7 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

- uses: actions/download-artifact@v2
- uses: actions/download-artifact@v4
with:
name: solara-builds-${{ github.run_number }}

Expand Down Expand Up @@ -350,15 +348,15 @@ jobs:

- name: Upload Test artifacts
if: steps.install_no_lock.outputs.exit_code != 'NO_DIFF'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: test-results
path: |
test-results
- name: Upload CI package locks
if: steps.install_no_lock.outputs.exit_code != 'NO_DIFF' && github.event_name == 'schedule' || steps.prepare.outputs.locks_exist == 'false'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ci-package-locks-integration-vue3-os${{ matrix.os }}-voila${{ matrix.voila }}-ipywidgets${{ matrix.ipywidgets }}
path: ${{ env.LOCK_FILE_LOCATION }}
Expand Down Expand Up @@ -424,7 +422,7 @@ jobs:

- name: Upload CI package locks
if: github.event_name == 'schedule' || steps.prepare.outputs.locks_exist == 'false'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ci-package-locks-unit-os${{ matrix.os }}-python${{ matrix.python }}-ipywidgets${{ matrix.ipywidgets }}
path: ${{ env.LOCK_FILE_LOCATION }}
Expand All @@ -448,8 +446,7 @@ jobs:
- name: Remove previous CI package locks
if: (github.event_name == 'schedule' && success()) && steps.prepare.outputs.locks_exist == 'true'
run: rm -rf .ci-package-locks

- uses: actions/download-artifact@v2
- uses: actions/download-artifact@v4
with:
name: ci-package-locks-*

Expand All @@ -476,7 +473,7 @@ jobs:
with:
python-version: 3.7

- uses: actions/download-artifact@v2
- uses: actions/download-artifact@v4
with:
name: solara-builds-${{ github.run_number }}

Expand Down

0 comments on commit 59173ed

Please sign in to comment.