Skip to content

Commit

Permalink
Update to v4 actions (#114)
Browse files Browse the repository at this point in the history
* bump to @v4 upload-artifact

* add overwrite flag

* also bump libcosim version
  • Loading branch information
restenb authored Dec 13, 2024
1 parent 9f16131 commit 61b180b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/ci-conan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,11 @@ jobs:
mkdir -m 0777 build
docker run --rm -v $(pwd):/mnt/source osp-builder
- name: Upload artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: cosim-${{ runner.os }}-${{ matrix.build_type }}-${{ matrix.compiler_version }}-${{ matrix.option_proxyfmu }}
path: build/${{ matrix.build_type }}/dist
overwrite: true

windows:
name: Windows
Expand Down Expand Up @@ -77,7 +78,8 @@ jobs:
cmake --build build --config ${{ matrix.build_type }}
cmake --build build --config ${{ matrix.build_type }} --target install
- name: Upload artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: cosim-${{ runner.os }}-${{ matrix.build_type }}-${{ matrix.option_proxyfmu }}
path: build/dist
overwrite: true
2 changes: 1 addition & 1 deletion conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def requirements(self):
self.tool_requires("cmake/[>=3.19]")
if self.settings.os == "Linux":
self.tool_requires("patchelf/[<0.18]")
self.requires("libcosim/0.10.3@osp/stable")
self.requires("libcosim/0.10.4@osp/stable")
self.requires("boost/[>=1.71]")

def layout(self):
Expand Down

0 comments on commit 61b180b

Please sign in to comment.