chore: replace set-output command

[skip ci]
This commit is contained in:
TonyRL 2022-12-15 17:57:06 +00:00 committed by Tony
parent c3068246f5
commit 0aadf5a8be
2 changed files with 3 additions and 3 deletions

View File

@ -27,7 +27,7 @@ jobs:
env:
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
if: ${{ env.DOCKER_USERNAME != '' }}
run: echo "::set-output name=defined::true"
run: echo "defined=true" >> $GITHUB_OUTPUT
release:
runs-on: ubuntu-latest
needs: check-env

View File

@ -12,9 +12,9 @@ jobs:
steps:
- uses: actions/checkout@v3
# https://github.community/t/154682
# https://github.com/orgs/community/discussions/25220
- name: Search the PR that triggered this workflow
uses: potiuk/get-workflow-origin@v1_3
uses: potiuk/get-workflow-origin@v1_5
id: source-run-info
with:
token: ${{ secrets.GITHUB_TOKEN }}