Skip to content

Commit 5a75f34

Browse files
authored
Update deprecated action (4 lines) (pyccel#1873)
Version 3 of the `upload-artifact` action has been issued with a [deprecation notice](https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/). This PR updates the version as requested. It also increases the retention time for the linux artifact to reduce problems when the coverage bot tries to run after the artifact has expired.
1 parent d64be7f commit 5a75f34

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.github/workflows/anaconda_linux.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ jobs:
103103
with:
104104
shell_cmd: "bash -l {0}"
105105
- name: Save code coverage report
106-
uses: actions/upload-artifact@v3
106+
uses: actions/upload-artifact@v4
107107
with:
108108
name: coverage-artifact
109109
path: .coverage

.github/workflows/intel.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ jobs:
9797
continue-on-error: True
9898
uses: ./.github/actions/coverage_collection
9999
- name: Save code coverage report
100-
uses: actions/upload-artifact@v3
100+
uses: actions/upload-artifact@v4
101101
with:
102102
name: coverage-artifact
103103
path: .coverage

.github/workflows/linux.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,11 +100,11 @@ jobs:
100100
continue-on-error: True
101101
uses: ./.github/actions/coverage_collection
102102
- name: Save code coverage report
103-
uses: actions/upload-artifact@v3
103+
uses: actions/upload-artifact@v4
104104
with:
105105
name: coverage-artifact
106106
path: .coverage
107-
retention-days: 1
107+
retention-days: 3
108108
- name: "Post completed"
109109
if: always() && github.event_name != 'push'
110110
run:

0 commit comments

Comments
 (0)