Skip to content

Commit 78516a7

Browse files
authored
Merge pull request #344 from esmf-org/upload_artifact_v4
Use v4 of the upload-artifact action The v3 upload-artifact action is deprecated and will be removed in the future (https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/). This PR updates the action to use v4. Note possibly breaking changes given in https://github.com/actions/upload-artifact/blob/main/docs/MIGRATION.md. I haven't reviewed these carefully, but at a glance I don't see use of these patterns. But @danrosen25 and @uturuncoglu you might have a better sense of this than I do.
2 parents d366abc + 826d290 commit 78516a7

File tree

5 files changed

+14
-14
lines changed

5 files changed

+14
-14
lines changed

.github/workflows/api-change.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
steps:
2222

2323
- name: Checkout Dockerfiles
24-
uses: actions/checkout@v3
24+
uses: actions/checkout@v4
2525
with:
2626
repository: esmf-org/esmf-containers
2727
path: esmf-containers
@@ -41,7 +41,7 @@ jobs:
4141
docker rm ${CID}
4242
4343
- name: Upload artifacts
44-
uses: actions/upload-artifact@v3
44+
uses: actions/upload-artifact@v4
4545
with:
4646
name: api-change
4747
path: ${{ github.workspace }}/artifacts

.github/workflows/build-esmf-docs.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
steps:
1818

1919
- name: Checkout Dockerfiles
20-
uses: actions/checkout@v3
20+
uses: actions/checkout@v4
2121
with:
2222
repository: esmf-org/esmf-containers
2323
path: esmf-containers
@@ -37,13 +37,13 @@ jobs:
3737
docker rm ${CID}
3838
3939
- name: Upload artifacts
40-
uses: actions/upload-artifact@v3
40+
uses: actions/upload-artifact@v4
4141
with:
4242
name: esmf-docs
4343
path: ${{ github.workspace }}/artifacts
4444

4545
- name: Checkout esmf-org.github.io
46-
uses: actions/checkout@v3
46+
uses: actions/checkout@v4
4747
with:
4848
repository: esmf-org/esmf-org.github.io
4949
path: ${{github.workspace}}/esmf-org.github.io

.github/workflows/build-esmpy-docs.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
steps:
1818

1919
- name: Checkout Dockerfiles
20-
uses: actions/checkout@v3
20+
uses: actions/checkout@v4
2121
with:
2222
repository: esmf-org/esmf-containers
2323
path: esmf-containers
@@ -37,13 +37,13 @@ jobs:
3737
docker rm ${CID}
3838
3939
- name: Upload artifacts
40-
uses: actions/upload-artifact@v3
40+
uses: actions/upload-artifact@v4
4141
with:
4242
name: esmpy-docs
4343
path: ${{ github.workspace }}/artifacts
4444

4545
- name: Checkout esmpy_doc
46-
uses: actions/checkout@v3
46+
uses: actions/checkout@v4
4747
with:
4848
repository: esmf-org/esmpy_doc
4949
path: ${{github.workspace}}/esmpy_doc

.github/workflows/test-build-spack.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ jobs:
7474
steps:
7575
# check out base repo
7676
- name: Checkout Base Repository
77-
uses: actions/checkout@v3
77+
uses: actions/checkout@v4
7878

7979
# prepare core environment
8080
- name: Install Core Development Tools
@@ -87,7 +87,7 @@ jobs:
8787
8888
# restore Intel oneAPI compiler installation from cache
8989
- name: Restore Intel oneAPI Compiler Installation
90-
uses: actions/cache@v3
90+
uses: actions/cache@v4
9191
if: ${{ startsWith(matrix.compiler, 'oneapi') }}
9292
with:
9393
path: /opt/intel/oneapi
@@ -120,7 +120,7 @@ jobs:
120120
121121
# checkout NUOPC app prototypes
122122
- name: Checkout NUOPC App Prototypes
123-
uses: actions/checkout@v3
123+
uses: actions/checkout@v4
124124
with:
125125
repository: esmf-org/nuopc-app-prototypes
126126
path: ${{ github.workspace }}/nuopc-app-prototypes
@@ -143,7 +143,7 @@ jobs:
143143
144144
# push test results to artifacts
145145
- name: Upload Artifacts
146-
uses: actions/upload-artifact@v3
146+
uses: actions/upload-artifact@v4
147147
with:
148148
name: Artifacts for ${{ matrix.compiler }} ${{ matrix.esmf }}
149149
path: ${{ github.workspace }}/nuopc-app-prototypes/Artifacts

.github/workflows/test-coverage.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
steps:
1313

1414
- name: Checkout Dockerfiles
15-
uses: actions/checkout@v3
15+
uses: actions/checkout@v4
1616
with:
1717
repository: esmf-org/esmf-containers
1818
path: esmf-containers
@@ -32,7 +32,7 @@ jobs:
3232
docker rm ${CID}
3333
3434
- name: Upload artifacts
35-
uses: actions/upload-artifact@v3
35+
uses: actions/upload-artifact@v4
3636
with:
3737
name: test-coverage
3838
path: ${{ github.workspace }}/artifacts

0 commit comments

Comments
 (0)