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 21, 2024
1 parent c0565e8 commit 7680b03
Showing 1 changed file with 19 additions and 18 deletions.
37 changes: 19 additions & 18 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 @@ -206,7 +206,7 @@ jobs:
python-version: ${{ matrix.python-version }}
cache: "pip"

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

Expand Down Expand Up @@ -260,16 +260,16 @@ jobs:

- name: Upload Test artifacts
if: github.event_name != 'schedule' || steps.install_no_lock.outputs.has_diff == true
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: test-results
name: test-results-integration-os${{ matrix.os }}-python${{ matrix.python-version }}-voila${{ matrix.voila }}-ipywidgets${{ matrix.ipywidgets }}
path: test-results

- name: Upload CI package locks
if: steps.install_no_lock.outputs.has_diff == true || steps.prepare.outputs.locks_exist == 'false'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ci-package-locks
name: ci-package-locks-integration-os${{ matrix.os }}-python${{ matrix.python-version }}-voila${{ matrix.voila }}-ipywidgets${{ matrix.ipywidgets }}
path: ./**/${{ env.LOCK_FILE_LOCATION }}

integration-test-vue3:
Expand Down Expand Up @@ -300,7 +300,7 @@ jobs:
python-version: ${{ matrix.python-version }}
cache: "pip"

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

Expand Down Expand Up @@ -356,16 +356,16 @@ jobs:

- name: Upload Test artifacts
if: github.event_name != 'schedule' || steps.install_no_lock.outputs.has_diff == true
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: test-results
name: test-results-integration-vue3-os${{ matrix.os }}-voila${{ matrix.voila }}-ipywidgets${{ matrix.ipywidgets }}
path: test-results

- name: Upload CI package locks
if: steps.install_no_lock.outputs.has_diff == true || steps.prepare.outputs.locks_exist == 'false'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ci-package-locks
name: ci-package-locks-integration-vue3-os${{ matrix.os }}-voila${{ matrix.voila }}-ipywidgets${{ matrix.ipywidgets }}
path: ./**/${{ env.LOCK_FILE_LOCATION }}

unit-test:
Expand Down Expand Up @@ -398,7 +398,7 @@ jobs:
python-version: ${{ matrix.python }}
cache: "pip"

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

Expand Down Expand Up @@ -438,9 +438,9 @@ jobs:

- name: Upload CI package locks
if: steps.install_no_lock.outputs.has_diff == true || steps.prepare.outputs.locks_exist == 'false'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ci-package-locks
name: ci-package-locks-unit-os${{ matrix.os }}-python${{ matrix.python }}-ipywidgets${{ matrix.ipywidgets }}
path: ./**/${{ env.LOCK_FILE_LOCATION }}

update-ci-package-locks:
Expand All @@ -461,10 +461,11 @@ jobs:
echo "::set-output name=locks_exist::false"
fi
- uses: actions/download-artifact@v2
- uses: actions/download-artifact@v4
if: github.event_name == 'schedule' || steps.prepare.outputs.locks_exist == 'false'
with:
name: ci-package-locks
pattern: ci-package-locks-*
merge-multiple: true

- name: Update CI package locks
if: github.event_name == 'schedule' || steps.prepare.outputs.locks_exist == 'false'
Expand All @@ -489,7 +490,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 7680b03

Please sign in to comment.