upgrade gh action upload artifact to v4 (#675)

* upgrade gh action upload artifact to v4

* forgot to save
This commit is contained in:
Will Bjorn 2024-09-13 20:30:23 -07:00 коммит произвёл GitHub
Родитель 2d6bf16178
Коммит dbdea10ff1
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: B5690EEEBB952194
2 изменённых файлов: 4 добавлений и 4 удалений

2
.github/workflows/integration-tests.yml поставляемый
Просмотреть файл

@ -51,7 +51,7 @@ jobs:
- name: Upload test results
if: always()
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: visual_diff-test-results-${{github.sha}}
path: ./integration/test-results/

6
.github/workflows/visual-diff.yml поставляемый
Просмотреть файл

@ -59,7 +59,7 @@ jobs:
# On pushes to main, upload images for comparison against pull_request runs
- name: Upload comparison screenshots [push|main]
if: ${{ github.event_name == 'push' && github.ref_name == 'main' }}
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: visual_diff_comparison_shapshots
path: ./integration/visual-diff/screenshots/updated
@ -73,14 +73,14 @@ jobs:
# Temporarily upload screenshots for pull requests, just to verify they are as we'd expect
- name: Upload screenshots [pull_request]
if: ${{ github.event_name == 'pull_request' && github.base_ref == 'main' }}
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: visual_diff_pull_request_shapshots-${{ github.sha }}
path: ./integration/visual-diff/screenshots/updated
- name: Download comparison screenshots [pull_request]
if: ${{ github.event_name == 'pull_request' && github.base_ref == 'main' }}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: visual_diff_comparison_shapshots
path: ./integration/visual-diff/screenshots/comparison