Codechange: [Actions] set-output is deprecated (#10089)

This commit is contained in:
Loïc Guilloux
2022-10-19 21:05:11 +02:00
committed by GitHub
parent 864771ca09
commit f6530f3c2d
2 changed files with 8 additions and 8 deletions

View File

@@ -171,7 +171,7 @@ jobs:
- name: Prepare cache key
id: key
run: |
echo "::set-output name=image::$ImageOS-$ImageVersion"
echo "name=image::$ImageOS-$ImageVersion" >> $GITHUB_OUTPUT
- name: Enable vcpkg cache
uses: actions/cache@v3
@@ -253,7 +253,7 @@ jobs:
# Work around caching failure with GNU tar
New-Item -Type Junction -Path vcpkg -Target c:\vcpkg
Write-Output "::set-output name=image::$env:ImageOS-$env:ImageVersion"
Write-Output "name=image::$env:ImageOS-$env:ImageVersion" >> $GITHUB_OUTPUT
- name: Enable vcpkg cache
uses: actions/cache@v3