Fix setting the tag in the beta workflow (#3881)

* Fix TAG set condition

* Add reference to outputs
This commit is contained in:
Thiago Silva 2022-08-01 15:43:26 -03:00 committed by GitHub
commit 43db74f7c5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -58,7 +58,7 @@ jobs:
steps:
- name: Set the tag
run: |
echo "TAG=${{ github.event.inputs.ref != '' && needs.build_auto_setup_job.build_tag || github.event.inputs.ref }}" >> $GITHUB_ENV
echo "TAG=${{ github.event.inputs.ref == '' && needs.build_auto_setup_job.outputs.build_tag || github.event.inputs.ref }}" >> $GITHUB_ENV
- uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f
with:
submodules: "recursive"
@ -84,7 +84,7 @@ jobs:
steps:
- name: Set the tag
run: |
echo "TAG=${{ github.event.inputs.ref != '' && needs.build_auto_setup_job.build_tag || github.event.inputs.ref }}" >> $GITHUB_ENV
echo "TAG=${{ github.event.inputs.ref == '' && needs.build_auto_setup_job.outputs.build_tag || github.event.inputs.ref }}" >> $GITHUB_ENV
- uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f
with:
submodules: "recursive"
@ -112,7 +112,7 @@ jobs:
steps:
- name: Set the tag
run: |
echo "TAG=${{ github.event.inputs.ref != '' && needs.build_auto_setup_job.build_tag || github.event.inputs.ref }}" >> $GITHUB_ENV
echo "TAG=${{ github.event.inputs.ref == '' && needs.build_auto_setup_job.outputs.build_tag || github.event.inputs.ref }}" >> $GITHUB_ENV
- uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f
with:
submodules: "recursive"
@ -146,7 +146,7 @@ jobs:
steps:
- name: Set the tag
run: |
Write-Output "TAG=${{ github.event.inputs.ref != '' && needs.build_auto_setup_job.build_tag || github.event.inputs.ref }}" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
Write-Output "TAG=${{ github.event.inputs.ref == '' && needs.build_auto_setup_job.outputs.build_tag || github.event.inputs.ref }}" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
- uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f
with:
submodules: "recursive"