Skip to content

Commit

Permalink
Fix artifact naming.
Browse files Browse the repository at this point in the history
  • Loading branch information
trisyoungs committed Oct 24, 2024
1 parent 0950279 commit 05f641c
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 16 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build/linux/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,14 +77,14 @@ runs:
echo "Source dir is: ${HDF5_DIR}"
INSTALL_DIR="build/${TAG}"
echo "Install dir is: ${INSTALL_DIR}"
mkdir packages
mkdir packages-linux
cd build
cp ${SZIP_INSTALL_DIR}/lib/libszip-static.a ${TAG}/lib
cp ${ZLIB_INSTALL_DIR}/lib/libz*.a ${TAG}/lib
zip -9rv ../packages/${TAG}-linux.zip ${TAG}
zip -9rv ../packages-linux/${TAG}-linux.zip ${TAG}
- name: Upload Package Artifacts
uses: actions/upload-artifact@v4
with:
name: packages
path: ${{ github.workspace }}/packages
name: packages-linux
path: ${{ github.workspace }}/packages-linux
8 changes: 4 additions & 4 deletions .github/workflows/build/osx/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,14 +78,14 @@ runs:
echo "Source dir is: ${HDF5_DIR}"
INSTALL_DIR="build/${TAG}"
echo "Install dir is: ${INSTALL_DIR}"
mkdir packages
mkdir packages-osx
cd build
cp ${SZIP_INSTALL_DIR}/lib/libszip-static.a ${TAG}/lib
cp ${ZLIB_INSTALL_DIR}/lib/libz*.a ${TAG}/lib
zip -9rv ../packages/${TAG}-osx.zip ${TAG}
zip -9rv ../packages-osx/${TAG}-osx.zip ${TAG}
- name: Upload Raw Build Artifacts
uses: actions/upload-artifact@v4
with:
name: packages
path: ${{ github.workspace }}/packages
name: packages-osx
path: ${{ github.workspace }}/packages-osx
14 changes: 7 additions & 7 deletions .github/workflows/build/windows/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ runs:
if: always()
uses: actions/upload-artifact@v4
with:
name: build
path: ${{ github.workspace }}/build
name: build-windows
path: ${{ github.workspace }}/build-windows

- name: Create Zip
shell: bash
Expand All @@ -86,14 +86,14 @@ runs:
echo "Source dir is: ${HDF5_DIR}"
INSTALL_DIR="build/${TAG}"
echo "Install dir is: ${INSTALL_DIR}"
mkdir packages
mkdir packages-windows
cd build
cp ${SZIP_INSTALL_DIR}/lib/libszip-static.a ${TAG}/lib
cp ${ZLIB_INSTALL_DIR}/lib/libz*.a ${TAG}/lib
7z a ../packages/${TAG}-windows.zip ${TAG}
7z a ../packages-windows/${TAG}-windows.zip ${TAG}
- name: Upload Raw Build Artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: packages
path: ${{ github.workspace }}/packages
name: packages-windows
path: ${{ github.workspace }}/packages-windows
4 changes: 3 additions & 1 deletion .github/workflows/publish/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,11 @@ runs:
- name: Download Artifacts
uses: actions/download-artifact@v4
with:
name: packages
pattern: packages-*
merge-multiple: true
path: ${{ github.workspace }}/packages


- name: Download Prerequisites
shell: bash
run: |
Expand Down

0 comments on commit 05f641c

Please sign in to comment.