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 a181805 commit 7c15d38
Showing 1 changed file with 19 additions and 20 deletions.
39 changes: 19 additions & 20 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 @@ -255,16 +254,16 @@ jobs:

- name: Upload Test artifacts
if: github.event_name != 'schedule' || steps.install_no_lock.outputs.exit_code != 'NO_DIFF'
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.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
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 @@ -293,8 +292,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 @@ -345,17 +343,17 @@ jobs:
run: pytest tests/integration/widget_test.py --timeout=360 --video=retain-on-failure --output=test-results -vv -s --log-cli-level=warning

- name: Upload Test artifacts
if: github.event_name != 'schedule' || steps.install_no_lock.outputs.exit_code != 'NO_DIFF'
uses: actions/upload-artifact@v3
if: steps.install_no_lock.outputs.exit_code != 'NO_DIFF'
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.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
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 @@ -420,9 +418,9 @@ jobs:

- 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
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 @@ -443,9 +441,10 @@ jobs:
echo "::set-output name=locks_exist::false"
fi
- uses: actions/download-artifact@v2
- uses: actions/download-artifact@v4
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 @@ -470,7 +469,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 7c15d38

Please sign in to comment.