Update Github actions to avoid deprecation warnings

Change-Id: Ifc7b2b2337bbe03ce44649891830f78381b0749d
This commit is contained in:
Sergiu Deitsch
2023-01-03 22:18:53 +01:00
committed by Sameer Agarwal
parent 285e5f9f45
commit 1e2a24a8bd
4 changed files with 16 additions and 21 deletions
+5 -10
View File
@@ -32,12 +32,7 @@ jobs:
- '28' - '28'
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: Setup Ninja
uses: ashutoshvarma/setup-ninja@master
with:
version: 1.10.0
- name: Setup Dependencies - name: Setup Dependencies
run: | run: |
@@ -58,7 +53,7 @@ jobs:
- name: Cache Eigen - name: Cache Eigen
id: cache-eigen id: cache-eigen
uses: actions/cache@v2 uses: actions/cache@v3
with: with:
path: eigen/ path: eigen/
key: NDK-${{matrix.os}}-eigen-3.4.0-${{matrix.abi}} key: NDK-${{matrix.os}}-eigen-3.4.0-${{matrix.abi}}
@@ -87,7 +82,7 @@ jobs:
- name: Cache gflags - name: Cache gflags
id: cache-gflags id: cache-gflags
uses: actions/cache@v2 uses: actions/cache@v3
with: with:
path: gflags/ path: gflags/
key: NDK-${{matrix.os}}-gflags-2.2.2-${{matrix.abi}}-${{matrix.build_type}}-${{matrix.lib}} key: NDK-${{matrix.os}}-gflags-2.2.2-${{matrix.abi}}-${{matrix.build_type}}-${{matrix.lib}}
@@ -116,7 +111,7 @@ jobs:
- name: Cache glog - name: Cache glog
id: cache-glog id: cache-glog
uses: actions/cache@v2 uses: actions/cache@v3
with: with:
path: glog/ path: glog/
key: NDK-${{matrix.os}}-glog-0.5-${{matrix.abi}}-${{matrix.build_type}}-${{matrix.lib}} key: NDK-${{matrix.os}}-glog-0.5-${{matrix.abi}}-${{matrix.build_type}}-${{matrix.lib}}
@@ -146,7 +141,7 @@ jobs:
- name: Cache Build - name: Cache Build
id: cache-build id: cache-build
uses: actions/cache@v2 uses: actions/cache@v3
with: with:
path: ${{env.CCACHE_DIR}} path: ${{env.CCACHE_DIR}}
key: NDK-${{matrix.os}}-ccache-${{matrix.abi}}-${{matrix.build_type}}-${{matrix.lib}}-${{github.run_id}} key: NDK-${{matrix.os}}-ccache-${{matrix.abi}}-${{matrix.build_type}}-${{matrix.lib}}-${{github.run_id}}
+2 -2
View File
@@ -30,7 +30,7 @@ jobs:
- no-cuda - no-cuda
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: Setup Dependencies - name: Setup Dependencies
run: | run: |
@@ -59,7 +59,7 @@ jobs:
- name: Cache Build - name: Cache Build
id: cache-build id: cache-build
uses: actions/cache@v2 uses: actions/cache@v3
with: with:
path: ${{env.CCACHE_DIR}} path: ${{env.CCACHE_DIR}}
key: ${{matrix.os}}-ccache-${{matrix.build_type}}-${{matrix.lib}}-${{matrix.gpu}}-${{github.run_id}} key: ${{matrix.os}}-ccache-${{matrix.build_type}}-${{matrix.lib}}-${{matrix.gpu}}-${{github.run_id}}
+2 -2
View File
@@ -28,7 +28,7 @@ jobs:
- ios - ios
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: Setup Dependencies (iOS) - name: Setup Dependencies (iOS)
if: matrix.target == 'ios' if: matrix.target == 'ios'
@@ -53,7 +53,7 @@ jobs:
- name: Cache Build - name: Cache Build
id: cache-build id: cache-build
uses: actions/cache@v2 uses: actions/cache@v3
with: with:
path: ${{env.CCACHE_DIR}} path: ${{env.CCACHE_DIR}}
key: ${{matrix.os}}-ccache-${{matrix.build_type}}-${{matrix.lib}}-${{matrix.target}}-${{github.run_id}} key: ${{matrix.os}}-ccache-${{matrix.build_type}}-${{matrix.lib}}-${{matrix.target}}-${{github.run_id}}
+7 -7
View File
@@ -24,7 +24,7 @@ jobs:
env: x86_64 env: x86_64
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: Setup Dependencies - name: Setup Dependencies
uses: msys2/setup-msys2@v2 uses: msys2/setup-msys2@v2
@@ -49,7 +49,7 @@ jobs:
- name: Cache Build - name: Cache Build
id: cache-build id: cache-build
uses: actions/cache@v2 uses: actions/cache@v3
with: with:
path: ${{env.CCACHE_DIR}} path: ${{env.CCACHE_DIR}}
key: ${{runner.os}}-${{matrix.sys}}-${{matrix.env}}-${{matrix.build_type}}-${{matrix.lib}}-ccache-${{github.run_id}} key: ${{runner.os}}-${{matrix.sys}}-${{matrix.env}}-${{matrix.build_type}}-${{matrix.lib}}-ccache-${{github.run_id}}
@@ -115,11 +115,11 @@ jobs:
marker: vc17 marker: vc17
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: Cache gflags - name: Cache gflags
id: cache-gflags id: cache-gflags
uses: actions/cache@v2 uses: actions/cache@v3
with: with:
path: gflags/ path: gflags/
key: ${{matrix.msvc}}-gflags-2.2.2-${{matrix.arch}}-${{matrix.build_type}}-${{matrix.lib}} key: ${{matrix.msvc}}-gflags-2.2.2-${{matrix.arch}}-${{matrix.build_type}}-${{matrix.lib}}
@@ -143,7 +143,7 @@ jobs:
- name: Cache glog - name: Cache glog
id: cache-glog id: cache-glog
uses: actions/cache@v2 uses: actions/cache@v3
with: with:
path: glog/ path: glog/
key: ${{matrix.msvc}}-glog-0.6.0-${{matrix.arch}}-${{matrix.build_type}}-${{matrix.lib}} key: ${{matrix.msvc}}-glog-0.6.0-${{matrix.arch}}-${{matrix.build_type}}-${{matrix.lib}}
@@ -168,7 +168,7 @@ jobs:
- name: Cache SuiteSparse - name: Cache SuiteSparse
id: cache-suitesparse id: cache-suitesparse
uses: actions/cache@v2 uses: actions/cache@v3
with: with:
path: suitesparse/ path: suitesparse/
key: ${{matrix.msvc}}-suitesparse-5.13.0-cmake.3-${{matrix.arch}}-${{matrix.build_type}}-${{matrix.lib}} key: ${{matrix.msvc}}-suitesparse-5.13.0-cmake.3-${{matrix.arch}}-${{matrix.build_type}}-${{matrix.lib}}
@@ -181,7 +181,7 @@ jobs:
- name: Cache Eigen - name: Cache Eigen
id: cache-eigen id: cache-eigen
uses: actions/cache@v2 uses: actions/cache@v3
with: with:
path: eigen/ path: eigen/
key: ${{runner.os}}-eigen-3.4.0 key: ${{runner.os}}-eigen-3.4.0