From 8ebed9d20ce263968d24b52576c5dc89a858a6f2 Mon Sep 17 00:00:00 2001 From: Magne Sjaastad Date: Wed, 11 Nov 2020 02:02:34 -0500 Subject: [PATCH] Replace use of add-path Replace use of add-path Output from gha The add-path command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/ --- .github/workflows/ResInsightWithCache.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ResInsightWithCache.yml b/.github/workflows/ResInsightWithCache.yml index 69c0f8e53b..c45ebd5069 100644 --- a/.github/workflows/ResInsightWithCache.yml +++ b/.github/workflows/ResInsightWithCache.yml @@ -98,7 +98,8 @@ jobs: run: New-Item ${{ env.BUILDCACHE_DIR }} -ItemType "directory" -Force shell: pwsh - name: Add buildcache to system path - run: echo "::add-path::${{ github.workspace }}/bin" + run: echo "${{github.workspace}}/bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 + shell: pwsh - name: Cache Qt id: cache-qt