From e335c7a20d4773057f1c31494dde6af39e14abb3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Sawicz=20=28Saviq=29?= Date: Thu, 19 Jan 2023 10:56:58 +0100 Subject: [PATCH] snap: fix GitHub Action warnings MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit `set-output` is getting deprecated, so need to move to newer ways. Signed-off-by: MichaƂ Sawicz (Saviq) --- .github/workflows/linux-snap.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/linux-snap.yml b/.github/workflows/linux-snap.yml index 7ff8e2874..95fa8c98b 100644 --- a/.github/workflows/linux-snap.yml +++ b/.github/workflows/linux-snap.yml @@ -15,7 +15,7 @@ jobs: timeout-minutes: 60 steps: - name: Check out code - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: # Needed for version determination to work fetch-depth: 0 @@ -36,10 +36,10 @@ jobs: # Find common base between master and HEAD to use as cache key. git -c protocol.version=2 fetch --no-tags --prune --progress --no-recurse-submodules origin master - echo "::set-output name=key::$( git merge-base origin/master ${{ github.sha }} )" + echo "key=$( git merge-base origin/master ${{ github.sha }} )" >> $GITHUB_OUTPUT - name: CCache - uses: actions/cache@v2 + uses: actions/cache@v3 with: key: ccache-${{ runner.os }}-${{ steps.setup-ccache.outputs.key }} restore-keys: |