mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-27 20:58:47 +00:00
snap: fix GitHub Action warnings
`set-output` is getting deprecated, so need to move to newer ways. Signed-off-by: Michał Sawicz (Saviq) <michal@sawicz.net>
This commit is contained in:
parent
76c4b76027
commit
e335c7a20d
1 changed files with 3 additions and 3 deletions
6
.github/workflows/linux-snap.yml
vendored
6
.github/workflows/linux-snap.yml
vendored
|
@ -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: |
|
||||
|
|
Loading…
Reference in a new issue