From b9c21289d01e13af7410bc591adece3b9c4e5960 Mon Sep 17 00:00:00 2001 From: Magne Sjaastad Date: Thu, 7 Jul 2022 09:06:54 +0200 Subject: [PATCH] Update actions to latest and remove artifact upload for Linux Artifact upload failed for Linux -> remove as these are not used --- .github/workflows/ResInsightWithCache.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ResInsightWithCache.yml b/.github/workflows/ResInsightWithCache.yml index 6c7baa128e..6f0714d7be 100644 --- a/.github/workflows/ResInsightWithCache.yml +++ b/.github/workflows/ResInsightWithCache.yml @@ -67,7 +67,6 @@ jobs: uses: lukka/get-cmake@latest - name: Use MSVC (Windows) - if: matrix.config.os == 'windows-latest' uses: ilammy/msvc-dev-cmd@v1 - name: Download buildcache @@ -101,7 +100,7 @@ jobs: message("::set-output name=timestamp::${current_date}") - name: Cache Buildcache id: cache-buildcache - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: ${{ env.BUILDCACHE_DIR }} key: ${{ matrix.config.os }}-${{ matrix.config.cc }}-cache-v02-${{ steps.cache_timestamp_string.outputs.timestamp }} @@ -114,7 +113,7 @@ jobs: - name: Cache Qt id: cache-qt - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: ${{ github.workspace }}/Qt/ key: ${{ matrix.config.os }}-QtCache-5-12-12 @@ -152,7 +151,7 @@ jobs: - name: Cache dynamic version of OpenSSL (Linux) if: "contains( matrix.config.os, 'ubuntu_disabled')" - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: ${{ github.workspace }}/ThirdParty/vcpkg/installed/x64-linux-dynamic key: ${{ matrix.config.os }}-vcpkg-x64-linux-dynamic_v05 @@ -216,8 +215,8 @@ jobs: ${{ steps.python-path.outputs.PYTHON_EXECUTABLE }} -m pytest --console - name: Upload artifact - uses: actions/upload-artifact@v2 - if: "matrix.config.name != 'Ubuntu Latest clang'" + if: matrix.config.os == 'windows-latest' + uses: actions/upload-artifact@v3 with: name: ResInsight-${{ matrix.config.name }} path: ${{ runner.workspace }}/ResInsight/cmakebuild/install