From 1763858614bef006d8d6662d69abc33e076d2e1c Mon Sep 17 00:00:00 2001 From: Ben Rockwood Date: Thu, 5 Oct 2023 17:50:52 -0700 Subject: [PATCH] Fix skip logic bug (#2108) Signed-off-by: Ben Rockwood --- .github/workflows/providers.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/providers.yaml b/.github/workflows/providers.yaml index b3b0b1eba2..a50c1034cc 100644 --- a/.github/workflows/providers.yaml +++ b/.github/workflows/providers.yaml @@ -123,7 +123,7 @@ jobs: scripts/provider_bundler.sh ${{ matrix.provider }} - name: 'Publish Provider' - if: ${{ ! github.event.inputs.skip_publish == 'true' }} + if: ${{ ! inputs.skip_publish }} run: | for pkg in $(ls dist | cut -f1,2 -d_ | uniq); do PROVIDER=$(echo $pkg | cut -f1 -d_) @@ -136,7 +136,7 @@ jobs: done - name: 'Save Artifacts' - if: ${{ github.event.inputs.skip_publish == 'true' }} + if: ${{ inputs.skip_publish }} uses: actions/upload-artifact@v3 with: name: ${{ matrix.provider }} @@ -145,7 +145,7 @@ jobs: provider-index: needs: [provider-build, scoping] runs-on: ubuntu-latest - if: ${{ ! github.event.inputs.skip_publish == 'true' }} + if: ${{ ! inputs.skip_publish }} steps: - name: Trigger Reindex of releases.mondoo.com uses: peter-evans/repository-dispatch@v2