Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update upload- artifact to match download version #3929

Merged
merged 2 commits into from
Jan 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 11 additions & 11 deletions .github/workflows/cmake-ctest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:

# Get files created by release script
- name: Get zip-tarball (Windows)
uses: actions/download-artifact@v4
uses: actions/download-artifact@f44cd7b40bfd40b6aa1cc1b9b5b7bf03d3c67110 # v4.1.0
with:
name: zip-tarball
path: ${{ github.workspace }}
Expand Down Expand Up @@ -83,7 +83,7 @@ jobs:

# Save files created by ctest script
- name: Save published binary (Windows)
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: zip-vs2022_cl-binary
path: ${{ runner.workspace }}/build/${{ steps.set-file-base.outputs.FILE_BASE }}-win-vs2022_cl.zip
Expand All @@ -106,7 +106,7 @@ jobs:

# Get files created by release script
- name: Get tgz-tarball (Linux)
uses: actions/download-artifact@v4
uses: actions/download-artifact@f44cd7b40bfd40b6aa1cc1b9b5b7bf03d3c67110 # v4.1.0
with:
name: tgz-tarball
path: ${{ github.workspace }}
Expand Down Expand Up @@ -145,15 +145,15 @@ jobs:

# Save files created by ctest script
- name: Save published binary (Linux)
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: tgz-ubuntu-2204_gcc-binary
path: ${{ runner.workspace }}/build/${{ steps.set-file-base.outputs.FILE_BASE }}-ubuntu-2204_gcc.tar.gz
if-no-files-found: error # 'warn' or 'ignore' are also available, defaults to `warn`

# Save doxygen files created by ctest script
- name: Save published doxygen (Linux)
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: docs-doxygen
path: ${{ runner.workspace }}/hdf5/build/ci-StdShar-GNUC/hdf5lib_docs/html
Expand All @@ -176,7 +176,7 @@ jobs:

# Get files created by release script
- name: Get tgz-tarball (MacOS)
uses: actions/download-artifact@v4
uses: actions/download-artifact@f44cd7b40bfd40b6aa1cc1b9b5b7bf03d3c67110 # v4.1.0
with:
name: tgz-tarball
path: ${{ github.workspace }}
Expand Down Expand Up @@ -224,7 +224,7 @@ jobs:

# Save files created by ctest script
- name: Save published binary (MacOS)
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: tgz-osx12-binary
path: ${{ runner.workspace }}/build/${{ steps.set-file-base.outputs.FILE_BASE }}-osx12.tar.gz
Expand Down Expand Up @@ -259,7 +259,7 @@ jobs:

# Get files created by release script
- name: Get zip-tarball (Windows_intel)
uses: actions/download-artifact@v4
uses: actions/download-artifact@f44cd7b40bfd40b6aa1cc1b9b5b7bf03d3c67110 # v4.1.0
with:
name: zip-tarball
path: ${{ github.workspace }}
Expand Down Expand Up @@ -310,7 +310,7 @@ jobs:

# Save files created by ctest script
- name: Save published binary (Windows_intel)
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: zip-vs2022_intel-binary
path: ${{ runner.workspace }}/build/${{ steps.set-file-base.outputs.FILE_BASE }}-win-vs2022_intel.zip
Expand Down Expand Up @@ -340,7 +340,7 @@ jobs:

# Get files created by release script
- name: Get tgz-tarball (Linux_intel)
uses: actions/download-artifact@v4
uses: actions/download-artifact@f44cd7b40bfd40b6aa1cc1b9b5b7bf03d3c67110 # v4.1.0
with:
name: tgz-tarball
path: ${{ github.workspace }}
Expand Down Expand Up @@ -383,7 +383,7 @@ jobs:

# Save files created by ctest script
- name: Save published binary (Linux_intel)
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: tgz-ubuntu-2204_intel-binary
path: ${{ runner.workspace }}/build/${{ steps.set-file-base.outputs.FILE_BASE }}-ubuntu-2204_intel.tar.gz
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,14 +66,14 @@ jobs:

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

- name: Save zip-tarball
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: zip-tarball
path: ${{ steps.set-file-base.outputs.FILE_BASE }}.zip
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/scorecard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:
# Upload the results as artifacts (optional). Commenting out will disable uploads of run results in SARIF
# format to the repository Actions tab.
- name: "Upload artifact"
uses: actions/upload-artifact@3cea5372237819ed00197afe530f5a7ea3e805c8 # v3.1.0
uses: actions/upload-artifact@v4
with:
name: SARIF file
path: results.sarif
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/tarball.yml
Original file line number Diff line number Diff line change
Expand Up @@ -133,14 +133,14 @@ jobs:

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

- name: Save zip-tarball
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: zip-tarball
path: ${{ steps.set-file-base.outputs.FILE_BASE }}.zip
Expand Down