Skip to content

Commit

Permalink
Fix uploads (#312)
Browse files Browse the repository at this point in the history
Use upload-artifact@v4 and download-artifact@v4. Fixes #309
  • Loading branch information
aliddell authored Oct 30, 2024
1 parent d7bea48 commit 744d16b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
cmake --build ${{github.workspace}}/build --config ${{matrix.build_type}}
cpack --config ${{github.workspace}}/build/CPackConfig.cmake -C ${{matrix.build_type}} -G ZIP
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: ${{matrix.platform}} ${{matrix.build_type}} binaries
path: ${{github.workspace}}/*.zip
Expand Down Expand Up @@ -111,7 +111,7 @@ jobs:
run: |
cpack --config ${{github.workspace}}/build/CPackConfig.cmake -C ${{matrix.build_type}} -G ZIP
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: macos-latest ${{matrix.build_type}} binaries
path: ${{github.workspace}}/*.zip
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:
cmake --build ${{github.workspace}}/pack --config Release
cpack --config ${{github.workspace}}/pack/CPackConfig.cmake -C Release -G ZIP
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: ${{matrix.platform}} binaries
path: ${{github.workspace}}/*.zip
Expand Down Expand Up @@ -115,7 +115,7 @@ jobs:
run: |
cpack --config ${{github.workspace}}/build/CPackConfig.cmake -C Release -G ZIP
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: macos-latest binaries
path: ${{github.workspace}}/*.zip
Expand All @@ -132,7 +132,7 @@ jobs:
steps:
- uses: actions/checkout@v3

- uses: actions/download-artifact@v4.1.7
- uses: actions/download-artifact@v4
id: download
with:
path: ${{ github.workspace }}/artifacts
Expand Down

0 comments on commit 744d16b

Please sign in to comment.