CI: Update to GITHUB_OUTPUT syntax

This commit is contained in:
Lynix
2022-11-13 12:30:38 +01:00
parent 640d877761
commit b24975c89d
5 changed files with 21 additions and 14 deletions

View File

@@ -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