Skip to content

Commit

Permalink
chore: upgrade upload/download-artifact to v4
Browse files Browse the repository at this point in the history
  • Loading branch information
drstrangelooker committed Dec 4, 2024
1 parent 3f0195a commit 79abb13
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/python-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,9 @@ jobs:
- name: Upload pytest test results
if: ${{ always() }}
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: python-test-results
name: python-test-results-${{ matrix.os }}.py${{ matrix.python-version }}
path: results/

publish-test-results:
Expand All @@ -75,7 +75,7 @@ jobs:

steps:
- name: Download Artifacts
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
path: artifacts

Expand All @@ -85,7 +85,7 @@ jobs:
- name: Check Results Files Exist
id: check-results-exist
run: |
if [[ $(ls -l artifacts/python-test-results/*.xml 2> /dev/null | wc -l) -ge "1" ]]; then
if [[ $(ls -l artifacts/python-test-results-*/*.xml 2> /dev/null | wc -l) -ge "1" ]]; then
exit 0
else
curl --request POST \
Expand Down

0 comments on commit 79abb13

Please sign in to comment.