mirror of
https://github.com/mehah/otclient
synced 2026-08-15 16:29:06 -04:00
ci: Use GITHUB_OUTPUT envvar instead of set-output command
This commit is contained in:
parent
a2b245e84d
commit
ed011571d6
2 changed files with 2 additions and 2 deletions
2
.github/workflows/build-ubuntu.yml
vendored
2
.github/workflows/build-ubuntu.yml
vendored
|
|
@ -46,7 +46,7 @@ jobs:
|
|||
run: |
|
||||
vcpkgCommitId=$(grep '.builtin-baseline' vcpkg.json | awk -F: '{print $2}' | tr -d '," ')
|
||||
echo "vcpkg commit ID: $vcpkgCommitId"
|
||||
echo "::set-output name=vcpkgGitCommitId::$vcpkgCommitId"
|
||||
echo "vcpkgGitCommitId=$vcpkgCommitId" >> "$GITHUB_OUTPUT"
|
||||
|
||||
- name: Get vcpkg commit id from vcpkg.json
|
||||
uses: lukka/run-vcpkg@main
|
||||
|
|
|
|||
2
.github/workflows/build-windows.yml
vendored
2
.github/workflows/build-windows.yml
vendored
|
|
@ -45,7 +45,7 @@ jobs:
|
|||
$json=Get-Content vcpkg.json -Raw | ConvertFrom-Json
|
||||
$vcpkgCommitId=$json.'builtin-baseline'
|
||||
Write-Host "vcpkg commit ID: $vcpkgCommitId"
|
||||
echo "::set-output name=vcpkgGitCommitId::$vcpkgCommitId"
|
||||
echo "vcpkgGitCommitId=$vcpkgCommitId" >> "$GITHUB_OUTPUT"
|
||||
|
||||
- name: Get vcpkg commit id from vcpkg.json
|
||||
uses: lukka/run-vcpkg@main
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue