Skip to content

Commit d272890

Browse files
authored
v3 -> v4 (SimVascular#335)
* v3 -> v4 * actions/upload-artifact v4 -> v3, codecov/codecov-action v4 -> v5 * run coverage only on ubuntu22
1 parent 1a27c43 commit d272890

File tree

4 files changed

+12
-9
lines changed

4 files changed

+12
-9
lines changed

.github/workflows/docker_solver_build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010

1111
steps:
1212
- name: Checkout code
13-
uses: actions/checkout@v3
13+
uses: actions/checkout@v4
1414

1515
- name: Set up QEMU
1616
uses: docker/setup-qemu-action@v2
@@ -27,7 +27,7 @@ jobs:
2727
password: ${{ secrets.DOCKER_PASSWORD }}
2828

2929
- name: Build and push Docker image
30-
uses: docker/build-push-action@v3
30+
uses: docker/build-push-action@v4
3131
with:
3232
context: .
3333
file: ./Docker/solver/dockerfile

.github/workflows/documentation.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,19 @@ jobs:
77
documentation:
88
runs-on: ubuntu-latest
99
steps:
10-
- uses: actions/checkout@v3
10+
- uses: actions/checkout@v4
1111
- name: Build doxygen documentation
1212
run: |
1313
sudo apt install -y doxygen
1414
doxygen Documentation/Doxyfile
1515
- name: Save documentation
16-
uses: actions/upload-artifact@v3
16+
uses: actions/upload-artifact@v4
1717
with:
1818
name: documentation
1919
path: Documentation/build/html
2020
- name: Deploy documentation
2121
if: github.ref == 'refs/heads/main'
22-
uses: peaceiris/actions-gh-pages@v3
22+
uses: peaceiris/actions-gh-pages@v4
2323
with:
2424
github_token: ${{ secrets.GITHUB_TOKEN }}
2525
publish_dir: Documentation/build/html

.github/workflows/test_macos.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ jobs:
44
test:
55
runs-on: macos-latest
66
steps:
7-
- uses: actions/checkout@v3
7+
- uses: actions/checkout@v4
88
- name: Install MacOS dependencies
99
run: |
1010
brew reinstall -v gcc

.github/workflows/test_ubuntu.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
runs-on: ${{ matrix.version }}
1616
container: simvascular/libraries:${{ matrix.image }}
1717
steps:
18-
- uses: actions/checkout@v3
18+
- uses: actions/checkout@v4
1919
- name: Build svZeroDSolver
2020
shell: bash
2121
run: |
@@ -59,16 +59,19 @@ jobs:
5959
cd build/svMultiPhysics-build/Source/solver
6060
ctest --verbose
6161
- name: Generate code coverage
62+
if: ${{ matrix.version == 'ubuntu-22.04' }}
6263
run: |
6364
cd build/svMultiPhysics-build
6465
make coverage
6566
- name: Save coverage report
66-
uses: actions/upload-artifact@v3
67+
if: ${{ matrix.version == 'ubuntu-22.04' }}
68+
uses: actions/upload-artifact@v4
6769
with:
6870
name: coverage_report
6971
path: build/svMultiPhysics-build/coverage
7072
- name: Upload coverage reports to Codecov
71-
uses: codecov/codecov-action@v3
73+
if: ${{ matrix.version == 'ubuntu-22.04' }}
74+
uses: codecov/codecov-action@v5
7275
env:
7376
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
7477

0 commit comments

Comments
 (0)