Skip to content

Commit

Permalink
fix(ci): Github CI fail due to deprecated action (#3938)
Browse files Browse the repository at this point in the history
* fix(ci):  Github CI fail due to deprecated Github action
Fixes #3937

* fix: correct wildcard
  • Loading branch information
cofin authored Jan 10, 2025
1 parent 21efdbb commit b09a549
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ jobs:
echo "${{ github.event.number }}" > .pr_number
- name: Upload artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: docs-preview
path: |
Expand Down Expand Up @@ -294,9 +294,9 @@ jobs:
- name: Rename coverage file
run: mv .coverage* .coverage.pydantic_v1

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: coverage-data
name: coverage-data-pydantic_v1-${{ inputs.python-version }}
path: .coverage.pydantic_v1
include-hidden-files: true

Expand All @@ -312,9 +312,10 @@ jobs:
python-version: "3.12"

- name: Download Artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: coverage-data
pattern: coverage-data*
merge-multiple: true

- name: Combine coverage files
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,9 @@ jobs:
if: inputs.coverage
run: mv .coverage .coverage.${{ inputs.python-version }}

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
if: inputs.coverage
with:
name: coverage-data
name: coverage-data-${{ inputs.python-version }}
path: .coverage.${{ inputs.python-version }}
include-hidden-files: true

0 comments on commit b09a549

Please sign in to comment.