Skip to content

Commit

Permalink
Try removing ${{ }} in if: conditions
Browse files Browse the repository at this point in the history
Skip-PR-comments: true
Test-tag: always_passes

Required-githooks: true

Signed-off-by: Brian J. Murrell <brian.murrell@intel.com>
  • Loading branch information
brianjmurrell committed Apr 22, 2024
1 parent 2e2b062 commit e6f70e3
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/rpm-build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ jobs:
name: Calculate RPM Build Matrix
runs-on: [self-hosted, wolf]
needs: [Import-commit-pragmas, Create-symlinks, Import-commit-message]
if: ${{ inputs.rpm-test-version == '' }} &&
if: inputs.rpm-test-version == '' &&
needs.Import-commit-pragmas.outputs.skip-build != 'true'
outputs:
matrix: ${{ steps.matrix.outputs.text }}
Expand Down Expand Up @@ -203,12 +203,11 @@ jobs:
needs: [Create-symlinks, Import-commit-pragmas, Calc-rpm-build-matrix, Import-commit-message]
if: |
(needs.Import-commit-pragmas.outputs.run-gha == 'true' ||
${{ github.event_name == 'workflow_dispatch' }}) &&
github.event_name == 'workflow_dispatch') &&
needs.Import-commit-pragmas.outputs.skip-build != 'true' &&
${{ inputs.rpm-test-version == '' }} &&
inputs.rpm-test-version == '' &&
needs.Create-symlinks.result == 'success' &&
true
# ((!cancelled()) || success() || failure())
((!cancelled()) || success() || failure())
strategy:
matrix:
distro: ${{ fromJSON(needs.Calc-rpm-build-matrix.outputs.matrix) }}
Expand Down

0 comments on commit e6f70e3

Please sign in to comment.