Update upload- artifact to match download version (#3929)

* Update upload- artifact to match download version

* Correct form of action call
This commit is contained in:
Allen Byrne 2024-01-08 08:06:40 -06:00 committed by GitHub
parent 3d39b85952
commit d001379f68
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 16 additions and 16 deletions

View File

@ -36,7 +36,7 @@ jobs:
# Get files created by release script # Get files created by release script
- name: Get zip-tarball (Windows) - name: Get zip-tarball (Windows)
uses: actions/download-artifact@v4 uses: actions/download-artifact@f44cd7b40bfd40b6aa1cc1b9b5b7bf03d3c67110 # v4.1.0
with: with:
name: zip-tarball name: zip-tarball
path: ${{ github.workspace }} path: ${{ github.workspace }}
@ -83,7 +83,7 @@ jobs:
# Save files created by ctest script # Save files created by ctest script
- name: Save published binary (Windows) - name: Save published binary (Windows)
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v4
with: with:
name: zip-vs2022_cl-binary name: zip-vs2022_cl-binary
path: ${{ runner.workspace }}/build/${{ steps.set-file-base.outputs.FILE_BASE }}-win-vs2022_cl.zip path: ${{ runner.workspace }}/build/${{ steps.set-file-base.outputs.FILE_BASE }}-win-vs2022_cl.zip
@ -106,7 +106,7 @@ jobs:
# Get files created by release script # Get files created by release script
- name: Get tgz-tarball (Linux) - name: Get tgz-tarball (Linux)
uses: actions/download-artifact@v4 uses: actions/download-artifact@f44cd7b40bfd40b6aa1cc1b9b5b7bf03d3c67110 # v4.1.0
with: with:
name: tgz-tarball name: tgz-tarball
path: ${{ github.workspace }} path: ${{ github.workspace }}
@ -145,7 +145,7 @@ jobs:
# Save files created by ctest script # Save files created by ctest script
- name: Save published binary (Linux) - name: Save published binary (Linux)
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v4
with: with:
name: tgz-ubuntu-2204_gcc-binary name: tgz-ubuntu-2204_gcc-binary
path: ${{ runner.workspace }}/build/${{ steps.set-file-base.outputs.FILE_BASE }}-ubuntu-2204_gcc.tar.gz path: ${{ runner.workspace }}/build/${{ steps.set-file-base.outputs.FILE_BASE }}-ubuntu-2204_gcc.tar.gz
@ -153,7 +153,7 @@ jobs:
# Save doxygen files created by ctest script # Save doxygen files created by ctest script
- name: Save published doxygen (Linux) - name: Save published doxygen (Linux)
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v4
with: with:
name: docs-doxygen name: docs-doxygen
path: ${{ runner.workspace }}/hdf5/build/ci-StdShar-GNUC/hdf5lib_docs/html path: ${{ runner.workspace }}/hdf5/build/ci-StdShar-GNUC/hdf5lib_docs/html
@ -176,7 +176,7 @@ jobs:
# Get files created by release script # Get files created by release script
- name: Get tgz-tarball (MacOS) - name: Get tgz-tarball (MacOS)
uses: actions/download-artifact@v4 uses: actions/download-artifact@f44cd7b40bfd40b6aa1cc1b9b5b7bf03d3c67110 # v4.1.0
with: with:
name: tgz-tarball name: tgz-tarball
path: ${{ github.workspace }} path: ${{ github.workspace }}
@ -224,7 +224,7 @@ jobs:
# Save files created by ctest script # Save files created by ctest script
- name: Save published binary (MacOS) - name: Save published binary (MacOS)
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v4
with: with:
name: tgz-osx12-binary name: tgz-osx12-binary
path: ${{ runner.workspace }}/build/${{ steps.set-file-base.outputs.FILE_BASE }}-osx12.tar.gz path: ${{ runner.workspace }}/build/${{ steps.set-file-base.outputs.FILE_BASE }}-osx12.tar.gz
@ -259,7 +259,7 @@ jobs:
# Get files created by release script # Get files created by release script
- name: Get zip-tarball (Windows_intel) - name: Get zip-tarball (Windows_intel)
uses: actions/download-artifact@v4 uses: actions/download-artifact@f44cd7b40bfd40b6aa1cc1b9b5b7bf03d3c67110 # v4.1.0
with: with:
name: zip-tarball name: zip-tarball
path: ${{ github.workspace }} path: ${{ github.workspace }}
@ -310,7 +310,7 @@ jobs:
# Save files created by ctest script # Save files created by ctest script
- name: Save published binary (Windows_intel) - name: Save published binary (Windows_intel)
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v4
with: with:
name: zip-vs2022_intel-binary name: zip-vs2022_intel-binary
path: ${{ runner.workspace }}/build/${{ steps.set-file-base.outputs.FILE_BASE }}-win-vs2022_intel.zip path: ${{ runner.workspace }}/build/${{ steps.set-file-base.outputs.FILE_BASE }}-win-vs2022_intel.zip
@ -340,7 +340,7 @@ jobs:
# Get files created by release script # Get files created by release script
- name: Get tgz-tarball (Linux_intel) - name: Get tgz-tarball (Linux_intel)
uses: actions/download-artifact@v4 uses: actions/download-artifact@f44cd7b40bfd40b6aa1cc1b9b5b7bf03d3c67110 # v4.1.0
with: with:
name: tgz-tarball name: tgz-tarball
path: ${{ github.workspace }} path: ${{ github.workspace }}
@ -383,7 +383,7 @@ jobs:
# Save files created by ctest script # Save files created by ctest script
- name: Save published binary (Linux_intel) - name: Save published binary (Linux_intel)
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v4
with: with:
name: tgz-ubuntu-2204_intel-binary name: tgz-ubuntu-2204_intel-binary
path: ${{ runner.workspace }}/build/${{ steps.set-file-base.outputs.FILE_BASE }}-ubuntu-2204_intel.tar.gz path: ${{ runner.workspace }}/build/${{ steps.set-file-base.outputs.FILE_BASE }}-ubuntu-2204_intel.tar.gz

View File

@ -66,14 +66,14 @@ jobs:
# Save files created by release script # Save files created by release script
- name: Save tgz-tarball - name: Save tgz-tarball
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v4
with: with:
name: tgz-tarball name: tgz-tarball
path: ${{ steps.set-file-base.outputs.FILE_BASE }}.tar.gz path: ${{ steps.set-file-base.outputs.FILE_BASE }}.tar.gz
if-no-files-found: error # 'warn' or 'ignore' are also available, defaults to `warn` if-no-files-found: error # 'warn' or 'ignore' are also available, defaults to `warn`
- name: Save zip-tarball - name: Save zip-tarball
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v4
with: with:
name: zip-tarball name: zip-tarball
path: ${{ steps.set-file-base.outputs.FILE_BASE }}.zip path: ${{ steps.set-file-base.outputs.FILE_BASE }}.zip

View File

@ -59,7 +59,7 @@ jobs:
# Upload the results as artifacts (optional). Commenting out will disable uploads of run results in SARIF # Upload the results as artifacts (optional). Commenting out will disable uploads of run results in SARIF
# format to the repository Actions tab. # format to the repository Actions tab.
- name: "Upload artifact" - name: "Upload artifact"
uses: actions/upload-artifact@3cea5372237819ed00197afe530f5a7ea3e805c8 # v3.1.0 uses: actions/upload-artifact@v4
with: with:
name: SARIF file name: SARIF file
path: results.sarif path: results.sarif

View File

@ -133,14 +133,14 @@ jobs:
# Save files created by release script # Save files created by release script
- name: Save tgz-tarball - name: Save tgz-tarball
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v4
with: with:
name: tgz-tarball name: tgz-tarball
path: ${{ steps.set-file-base.outputs.FILE_BASE }}.tar.gz path: ${{ steps.set-file-base.outputs.FILE_BASE }}.tar.gz
if-no-files-found: error # 'warn' or 'ignore' are also available, defaults to `warn` if-no-files-found: error # 'warn' or 'ignore' are also available, defaults to `warn`
- name: Save zip-tarball - name: Save zip-tarball
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v4
with: with:
name: zip-tarball name: zip-tarball
path: ${{ steps.set-file-base.outputs.FILE_BASE }}.zip path: ${{ steps.set-file-base.outputs.FILE_BASE }}.zip