build(qa): Switch deprecated set-output to $GITHUB_OUTPUT

https://github.blog/changelog/2023-07-24-github-actions-update-on-save-state-and-set-output-commands/

Signed-off-by: Josh <josh.t.richards@gmail.com>
This commit is contained in:
Josh 2024-06-29 19:31:54 -04:00 committed by GitHub
parent f10759e28f
commit 81f113c53a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -20,7 +20,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Check if secrets are available - name: Check if secrets are available
run: echo "::set-output name=ok::${{ secrets.KS_PASS != '' }}" run: echo "ok=${{ secrets.KS_PASS != '' }}" >> "$GITHUB_OUTPUT"
id: check-secrets id: check-secrets
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
if: ${{ steps.check-secrets.outputs.ok == 'true' }} if: ${{ steps.check-secrets.outputs.ok == 'true' }}