ci: GitHub actions updated to not use deprecated versions
This commit is contained in:
1 parent
4475bab192
commit
572968f932
5 files changed
+10
-10
No files matched your search
@@ -140,7 +140,7 @@ jobs:
|
||||
- uses: actions/checkout@v4
|
||||
- run: echo "cache_id=$(/bin/date -u "+%Y%m%d")" >> $GITHUB_ENV
|
||||
- name: Cache Conan data
|
||||
uses: actions/cache@v3
|
||||
uses: actions/cache@v4
|
||||
if: always()
|
||||
env:
|
||||
cache-name: cache-conan-data
|
||||
@@ -185,7 +185,7 @@ jobs:
|
||||
run: |
|
||||
sudo xcode-select -s /Applications/Xcode_${{ matrix.config.compiler.version }}.app && /usr/bin/xcodebuild -version
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v4
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: "3.8"
|
||||
- name: Install Ninja
|
||||
@@ -243,7 +243,7 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v4
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: "3.8"
|
||||
- name: Install Conan
|
||||
|
||||
@@ -30,7 +30,7 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Set up Python 3.8
|
||||
uses: actions/setup-python@v4
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: 3.8
|
||||
- name: Install dependencies
|
||||
|
||||
@@ -139,7 +139,7 @@ jobs:
|
||||
- uses: actions/checkout@v4
|
||||
- run: echo "cache_id=$(/bin/date -u "+%Y%m%d")" >> $GITHUB_ENV
|
||||
- name: Cache Conan data
|
||||
uses: actions/cache@v3
|
||||
uses: actions/cache@v4
|
||||
if: always()
|
||||
env:
|
||||
cache-name: cache-conan-data
|
||||
@@ -179,7 +179,7 @@ jobs:
|
||||
run: |
|
||||
sudo xcode-select -s /Applications/Xcode_${{ matrix.config.compiler.version }}.app && /usr/bin/xcodebuild -version
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v4
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: "3.8"
|
||||
- name: Install Ninja
|
||||
|
||||
@@ -82,7 +82,7 @@ jobs:
|
||||
- run: echo "cache_id=$(/bin/date -u "+%Y%m%d")" >> $GITHUB_ENV
|
||||
- name: Cache Conan data
|
||||
if: matrix.language == 'cpp'
|
||||
uses: actions/cache@v3
|
||||
uses: actions/cache@v4
|
||||
env:
|
||||
cache-name: cache-conan-data
|
||||
with:
|
||||
@@ -95,7 +95,7 @@ jobs:
|
||||
build-${{ matrix.os }}-
|
||||
- name: Set up Python
|
||||
if: matrix.language == 'cpp'
|
||||
uses: actions/setup-python@v4
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: "3.8"
|
||||
- name: Conan build
|
||||
|
||||
@@ -36,11 +36,11 @@ jobs:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- uses: actions/setup-python@v4
|
||||
- uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: 3.x
|
||||
- run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV
|
||||
- uses: actions/cache@v3
|
||||
- uses: actions/cache@v4
|
||||
with:
|
||||
key: mkdocs-material-${{ env.cache_id }}
|
||||
path: .cache
|
||||
|
||||
Reference in new issue
Block a user