FCOS+podman-next: correct GHA conditional syntax

Ref: https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#example-using-contexts

[skip-ci]

Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
This commit is contained in:
Lokesh Mandvekar
2023-09-26 09:56:00 -04:00
parent a2434a9d37
commit 59ffea80d2

View File

@ -28,7 +28,7 @@ jobs:
- name: Set up wait-for-copr
# Do not run on scheduled nightly builds
if: ${{ github.event_name }} != 'schedule'
if: ${{ github.event_name != 'schedule' }}
run: |
pip3 install git+https://github.com/packit/wait-for-copr.git@main
@ -41,7 +41,7 @@ jobs:
- name: Wait for successful podman-next build with the latest commit
# Do not run on scheduled nightly builds
if: ${{ github.event_name }} != 'schedule'
if: ${{ github.event_name != 'schedule' }}
run: |
# TODO: add this in the Containerfile itself or as a --build-arg
wait-for-copr --owner ${{ env.COPR_OWNER }} --project ${{ env.COPR_PROJECT }} podman ${{ env.SHORT_SHA }}