Skip to content

Commit

Permalink
Fix skip logic bug (#2108)
Browse files Browse the repository at this point in the history
Signed-off-by: Ben Rockwood <[email protected]>
  • Loading branch information
benr authored Oct 6, 2023
1 parent 53777b8 commit 1763858
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/providers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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_)
Expand All @@ -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 }}
Expand All @@ -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
Expand Down

0 comments on commit 1763858

Please sign in to comment.