Skip to content

Commit fe7b2d1

Browse files
committed
Abstract OS with env var to share common conan cache
1 parent 13939a6 commit fe7b2d1

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/code_coverage.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,11 @@ env:
2929
BUILD_TYPE: Debug
3030
COMPILER_VERSION: 14
3131
LCOV_VERSION: 2.5
32+
OS: ubuntu-latest
3233

3334
jobs:
3435
build:
35-
runs-on: ubuntu-latest
36+
runs-on: ${{ env.OS }}
3637
steps:
3738
- uses: actions/checkout@v6.0.2
3839

@@ -60,7 +61,7 @@ jobs:
6061
- name: Cache Conan Restore
6162
uses: ./.github/actions/conan-cache-restore
6263
with:
63-
os: Linux
64+
os: ${{ env.OS }}
6465
build-type: ${{ env.BUILD_TYPE }}
6566
conan-compiler: gcc
6667
compiler-version: ${{ env.COMPILER_VERSION }}

0 commit comments

Comments
 (0)