From df3cf7bee70a66bf57f09402bf74b888b93dc6d3 Mon Sep 17 00:00:00 2001 From: Magne Sjaastad Date: Tue, 9 Jun 2020 09:38:07 +0200 Subject: [PATCH] gha : Upgrade to latest version of cache and checkout --- .github/workflows/AppFwkUnitTest.yml | 4 ++-- .github/workflows/ResInsightWithCache.yml | 8 ++++---- .github/workflows/delete_artifacts.yml | 2 +- .github/workflows/main.yml | 2 +- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/AppFwkUnitTest.yml b/.github/workflows/AppFwkUnitTest.yml index ddc04a8ff5..64d5d107d6 100644 --- a/.github/workflows/AppFwkUnitTest.yml +++ b/.github/workflows/AppFwkUnitTest.yml @@ -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 diff --git a/.github/workflows/ResInsightWithCache.yml b/.github/workflows/ResInsightWithCache.yml index f776a72c57..9107e8c9ba 100644 --- a/.github/workflows/ResInsightWithCache.yml +++ b/.github/workflows/ResInsightWithCache.yml @@ -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. diff --git a/.github/workflows/delete_artifacts.yml b/.github/workflows/delete_artifacts.yml index 16f81999d5..193629ee44 100644 --- a/.github/workflows/delete_artifacts.yml +++ b/.github/workflows/delete_artifacts.yml @@ -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: diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 11cee2bac5..a14488544b 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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