mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +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
|
timeout-minutes: 60
|
||||||
steps:
|
steps:
|
||||||
- name: Check out code
|
- name: Check out code
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
# Needed for version determination to work
|
# Needed for version determination to work
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
@ -36,10 +36,10 @@ jobs:
|
||||||
|
|
||||||
# Find common base between master and HEAD to use as cache key.
|
# 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
|
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
|
- name: CCache
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v3
|
||||||
with:
|
with:
|
||||||
key: ccache-${{ runner.os }}-${{ steps.setup-ccache.outputs.key }}
|
key: ccache-${{ runner.os }}-${{ steps.setup-ccache.outputs.key }}
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
|
|
Loading…
Reference in a new issue