Skip to content

Commit

Permalink
set artifact to v4 (#1109)
Browse files Browse the repository at this point in the history
  • Loading branch information
sambles authored Sep 5, 2024
1 parent 5e6028f commit 9d2cc4a
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 15 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ jobs:

- name: Store image size report
if: success() || failure()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.dive }}
path: ${{ matrix.dive }}
Expand Down Expand Up @@ -201,7 +201,7 @@ jobs:

- name: Store CVE report
if: success() || failure() && env.SEVERITY != 'SKIP'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.report }}
path: ${{ matrix.report }}
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/build-schema.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:

- name: Download package
if: needs.ods_tools.outputs.whl_filename != ''
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: bin_package
path: ${{ github.workspace }}/
Expand Down Expand Up @@ -83,21 +83,21 @@ jobs:
OASIS_GEN_SWAGGER_V2: 1

- name: Store OpenAPI schema
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: openapi-schema
path: ${{ env.SCHEMA_ALL }}
retention-days: 3

- name: Store OpenAPI schema (only v1)
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: v1-openapi-schema
path: ${{ env.SCHEMA_V1 }}
retention-days: 3

- name: Store OpenAPI schema (only v2)
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: v2-openapi-schema
path: ${{ env.SCHEMA_V2 }}
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -330,21 +330,21 @@ jobs:
docker run --entrypoint "eve" ${{ needs.build_images.outputs.worker_image }} '-v' 2> KTOOLS_VERSION
- name: 'store OASISLMF_VERSION'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: OASISLMF_VERSION
path: OASISLMF_VERSION
retention-days: 5

- name: 'store ODS_VERSION'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ODS_VERSION
path: ODS_VERSION
retention-days: 5

- name: 'store KTOOLS_VERSION'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: KTOOLS_VERSION
path: KTOOLS_VERSION
Expand All @@ -362,19 +362,19 @@ jobs:
test "v$KTOOL_VER" = ${{ env.ktools_release }} || exit 1
- name: Download API schema
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: openapi-schema
path: ${{ github.workspace }}/

- name: Download API schema (v1)
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: v1-openapi-schema
path: ${{ github.workspace }}/

- name: Download API schema (v2)
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: v2-openapi-schema
path: ${{ github.workspace }}/
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/scan-external.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ jobs:

- name: Store report
if: success() || failure()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.report }}
path: ${{ matrix.report }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ jobs:

- name: Store CVE report
if: success() || failure()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ env.REPORT }}
path: ${{ env.REPORT }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-python_api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:

- name: Download package
if: needs.ods_tools.outputs.whl_filename != ''
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: bin_package
path: ${{ github.workspace }}/
Expand Down

0 comments on commit 9d2cc4a

Please sign in to comment.