diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 6acfbf5..ee6a8a8 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -7,7 +7,7 @@ on: workflow_dispatch: env: - SUFFIX: ${{ (github.head_ref || github.ref_name) == 'main' && '' || format('-{0}', github.head_ref || github.ref_name) }} + SUFFIX: ${{ (github.head_ref || github.ref_name) != 'main' && format('-{0}', github.head_ref || github.ref_name) || '' }} jobs: checks: