Skip to content

Commit

Permalink
Update GitHub Actions to use checkout and upload-artifact actions ver…
Browse files Browse the repository at this point in the history
…sion 4
  • Loading branch information
3dJan committed Sep 18, 2024
1 parent a255f08 commit 38c45c1
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- run: sudo apt install -y valgrind
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
submodules: true
- run: sh cmake/GenerateMake.sh
Expand All @@ -14,13 +14,13 @@ jobs:
- run: ctest -V
working-directory: ./build
- name: Archive Linux binary
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: lib3mf.so
path: build/lib3mf.so.2
- run: zip -r build/bindings.zip Autogenerated/Bindings
- name: Archive bindings
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: bindings.zip
path: build/bindings.zip
Expand All @@ -36,7 +36,7 @@ jobs:
- run: ctest -V
working-directory: ./build
- name: Archive Mac binary
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: lib3mf.dylib
path: build/lib3mf.dylib
Expand All @@ -56,7 +56,7 @@ jobs:
working-directory: ./build
- run: ./Tests/codecoverage/run_codecoverage.sh
- name: Archive Code Coverage Results
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: codecoverage.zip
path: build/codecoverage.zip
Expand All @@ -80,12 +80,12 @@ jobs:
- run: ctest -V
working-directory: ./build
- name: Archive Windows Release binary
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: lib3mf.dll
path: build/Release/lib3mf.dll
- name: Archive Windows Release lib
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: lib3mf.lib
path: build/Release/lib3mf.lib
Expand All @@ -101,7 +101,7 @@ jobs:
- run: ctest -V
working-directory: ./build
- name: Archive Windows Debug binary
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: lib3mf.debug.dll
path: build/Debug/lib3mf.dll
Expand All @@ -117,12 +117,12 @@ jobs:
- run: ctest -V
working-directory: ./build_32bit
- name: Archive Windows 32 bit Release binary
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: lib3mf_32bit.dll
path: build_32bit/Release/lib3mf.dll
- name: Archive Windows 32 bit Release lib
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: lib3mf_32bit.lib
path: build_32bit/Release/lib3mf.lib
Expand Down Expand Up @@ -156,7 +156,7 @@ jobs:
working-directory: ./build
- run: bash SDK/GenerateSDK_github.sh
- name: Archive SDK artifact
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: lib3mf_sdk.zip
path: build/lib3mf_sdk.zip
Expand Down

0 comments on commit 38c45c1

Please sign in to comment.