gha : Upgrade to latest version of cache and checkout

This commit is contained in:
Magne Sjaastad 2020-06-09 09:38:07 +02:00 committed by GitHub
parent 95cc84d75a
commit df3cf7bee7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 8 additions and 8 deletions

View File

@ -10,10 +10,10 @@ jobs:
os: [ubuntu-latest, windows-latest]
steps:
- name: Checkout
uses: actions/checkout@v1
uses: actions/checkout@v2
- name: Cache Qt
id: cache-qt
uses: actions/cache@v1
uses: actions/cache@v2
with:
path: ../Qt
key: ${{ runner.os }}-QtCache

View File

@ -46,7 +46,7 @@ jobs:
}
steps:
- name: Checkout
uses: actions/checkout@v1
uses: actions/checkout@v2
with:
submodules: true
- name: Download Ninja
@ -82,7 +82,7 @@ jobs:
message("::set-output name=timestamp::${current_date}")
- name: Cache Buildcache
id: cache-buildcache
uses: actions/cache@v1
uses: actions/cache@v2
with:
path: ${{ env.BUILDCACHE_DIR }}
key: ${{ matrix.config.name }}-cache-v01-${{ steps.cache_timestamp_string.outputs.timestamp }}
@ -94,7 +94,7 @@ jobs:
- name: Cache Qt
id: cache-qt
uses: actions/cache@v1
uses: actions/cache@v2
with:
path: ../Qt
key: ${{ runner.os }}-QtCache
@ -113,7 +113,7 @@ jobs:
if: "contains( matrix.config.os, 'ubuntu')"
run: sudo apt-get install libxkbcommon-x11-0 libgl1-mesa-dev mesa-common-dev libglfw3-dev libglu1-mesa-dev libhdf5-dev
- name: Cache vcpkg artifacts
uses: actions/cache@v1
uses: actions/cache@v2
with:
path: ${{ github.workspace }}/vcpkg/
# Ensure the cache is invalidated any time vcpkg version changes, or a different set of packages is being used.

View File

@ -12,7 +12,7 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v1
uses: actions/checkout@v2
- name: setup python
uses: actions/setup-python@v2
with:

View File

@ -20,7 +20,7 @@ jobs:
vcpkg-response-file: vcpkg_x64-linux.txt
steps:
- name: Checkout
uses: actions/checkout@v1
uses: actions/checkout@v2
with:
submodules: true
- name: Cache Qt