CI: Update to GITHUB_OUTPUT syntax
This commit is contained in:
5
.github/workflows/windows-build.yml
vendored
5
.github/workflows/windows-build.yml
vendored
@@ -29,7 +29,8 @@ jobs:
|
||||
steps:
|
||||
- name: Get current date as package key
|
||||
id: pkg_key
|
||||
run: echo "::set-output name=key::$(date +'%W')"
|
||||
run: echo "key=$(date +'%W')" >> $GITHUB_OUTPUT
|
||||
shell: bash
|
||||
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v3
|
||||
@@ -51,7 +52,7 @@ jobs:
|
||||
# Fetch xmake dephash
|
||||
- name: Retrieve dependencies hash
|
||||
id: dep_hash
|
||||
run: echo "::set-output name=hash::$(xmake l utils.ci.packageskey)"
|
||||
run: echo "hash=$(xmake l utils.ci.packageskey)" | Out-File -FilePath $env:GITHUB_OUTPUT -Encoding utf8 -Append
|
||||
|
||||
# Cache xmake dependencies
|
||||
- name: Retrieve cached xmake dependencies
|
||||
|
||||
Reference in New Issue
Block a user