Deprecating save-state and set-output commands

See https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
This commit is contained in:
okrc 2022-10-15 16:55:53 +08:00 committed by GitHub
parent 05ffd4c3a4
commit 59ec05ef74
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -33,7 +33,7 @@ jobs:
set +e
lupdate SandMan.pri
git diff --exit-code
echo "::set-output name=deploy::$?"
echo "deploy=$?" >> $GITHUB_OUTPUT
- name: Commit translations changes (if any)
if: steps.check.outputs.deploy == '1'

View File

@ -20,7 +20,7 @@ jobs:
id: get_version
run: |
$VERSION="${{ github.event.release.name }}" -replace '^.*/ '
Write-Host "::set-output name=CLASSIC_VER::$VERSION"
"CLASSIC_VER=$VERSION" >> $env:GITHUB_OUTPUT
shell: pwsh
- name: Publish Sandboxie-Classic
uses: vedantmgoyal2009/winget-releaser@v1