From 30c717db1608fb918b5da46f61351216743380c4 Mon Sep 17 00:00:00 2001 From: Magne Sjaastad Date: Wed, 11 Nov 2020 01:58:55 -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 | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ResInsightWithCache.yml b/.github/workflows/ResInsightWithCache.yml index daa3d5ccd0..02c97bc747 100644 --- a/.github/workflows/ResInsightWithCache.yml +++ b/.github/workflows/ResInsightWithCache.yml @@ -100,8 +100,9 @@ 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 uses: actions/cache@v2