Skip to content

Commit

Permalink
Merge pull request #343 from polyfem/updated-ci
Browse files Browse the repository at this point in the history
updated ci cache and checkout verions
  • Loading branch information
teseoch committed Jun 12, 2024
2 parents 5c6646e + 157e220 commit 115bcd8
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 15 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/continuous.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
name: Linux
steps:
- name: Checkout repository
uses: actions/checkout@v1
uses: actions/checkout@v4.1.6
with:
fetch-depth: 10

Expand All @@ -40,7 +40,7 @@ jobs:
- name: Cache Build
id: cache-build
uses: actions/cache@v3
uses: actions/cache@v4.0.2
if: matrix.config == 'Release' # debug cache is not working
with:
path: ${{ env.CACHE_PATH }}
Expand Down Expand Up @@ -89,7 +89,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v1
uses: actions/checkout@v4.1.6
with:
fetch-depth: 10

Expand All @@ -100,7 +100,7 @@ jobs:
- name: Cache Build
id: cache-build
uses: actions/cache@v3
uses: actions/cache@v4.0.2
with:
path: ${{ env.CACHE_PATH }}
key: ${{ runner.os }}-${{ matrix.config }}-${{ matrix.threading }}-cache-${{ github.sha }}
Expand Down Expand Up @@ -140,10 +140,10 @@ jobs:
fail-fast: false
matrix:
config: [DebugNoSymbols]
threading: [TBB]
threading: [CPP]
steps:
- name: Checkout repository
uses: actions/checkout@v3.5.3
uses: actions/checkout@v4.1.6
with:
fetch-depth: 10

Expand All @@ -157,7 +157,7 @@ jobs:
- name: Cache build
id: cache-build
uses: actions/cache@v3
uses: actions/cache@v4.0.2
with:
path: ${{ env.CACHE_PATH }}
key: ${{ runner.os }}-${{ matrix.config }}-${{ matrix.threading }}-cache-${{ github.sha }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
name: Linux
steps:
- name: Checkout repository
uses: actions/checkout@v1
uses: actions/checkout@v4.1.6
with:
fetch-depth: 10

Expand All @@ -40,7 +40,7 @@ jobs:
- name: Cache Build
id: cache-build
uses: actions/cache@v3
uses: actions/cache@v4.0.2
with:
path: ${{ env.CACHE_PATH }}
key: ${{ runner.os }}-Release-${{ matrix.threading }}-cache-${{ github.sha }}
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
name: Linux
steps:
- name: Checkout repository
uses: actions/checkout@v1
uses: actions/checkout@v4.1.6
with:
fetch-depth: 10

Expand All @@ -45,7 +45,7 @@ jobs:
- name: Cache Build
id: cache-build
uses: actions/cache@v3
uses: actions/cache@v4.0.2
if: matrix.config == 'Release' # debug cache is not working
with:
path: ${{ env.CACHE_PATH }}
Expand Down Expand Up @@ -90,7 +90,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v1
uses: actions/checkout@v4.1.6
with:
fetch-depth: 10

Expand All @@ -101,7 +101,7 @@ jobs:
- name: Cache Build
id: cache-build
uses: actions/cache@v3
uses: actions/cache@v4.0.2
with:
path: ${{ env.CACHE_PATH }}
key: ${{ runner.os }}-${{ matrix.config }}-${{ matrix.threading }}-cache-${{ github.sha }}
Expand Down Expand Up @@ -144,7 +144,7 @@ jobs:
threading: [NONE]
steps:
- name: Checkout repository
uses: actions/checkout@v1
uses: actions/checkout@v4.1.6
with:
fetch-depth: 10

Expand All @@ -158,7 +158,7 @@ jobs:
- name: Cache build
id: cache-build
uses: actions/cache@v3
uses: actions/cache@v4.0.2
with:
path: ${{ env.CACHE_PATH }}
key: ${{ runner.os }}-${{ matrix.config }}-${{ matrix.threading }}-cache-${{ github.sha }}
Expand Down

0 comments on commit 115bcd8

Please sign in to comment.