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