Skip to content

Commit

Permalink
fix skip condition
Browse files Browse the repository at this point in the history
  • Loading branch information
srikrishnak committed Feb 19, 2025
1 parent 0ab40ba commit 88ae2b3
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/deps.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ jobs:

darwin_amd64:
needs: get-latest-ref
if: ${{ inputs.duckdb-repo != '' && needs.get-latest-ref.output.latest_ref != '' }}
if: ${{ !inputs.duckdb-repo || inputs.duckdb-repo == '' || needs.get-latest-ref.outputs.latest_ref != '' }}
runs-on: macos-13
steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -106,7 +106,7 @@ jobs:
retention-days: 1
darwin_arm64:
needs: get-latest-ref
if: ${{ !inputs.duckdb-repo && needs.get-latest-ref.output.latest_ref != '' }}
if: ${{ !inputs.duckdb-repo || inputs.duckdb-repo == '' || needs.get-latest-ref.outputs.latest_ref != '' }}
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -147,7 +147,7 @@ jobs:
retention-days: 1
linux_amd64:
needs: get-latest-ref
if: ${{ !inputs.duckdb-repo && needs.get-latest-ref.output.latest_ref != '' }}
if: ${{ !inputs.duckdb-repo || inputs.duckdb-repo == '' || needs.get-latest-ref.outputs.latest_ref != '' }}
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -186,7 +186,7 @@ jobs:
retention-days: 1
linux_arm64:
needs: get-latest-ref
if: ${{ !inputs.duckdb-repo && needs.get-latest-ref.output.latest_ref != '' }}
if: ${{ !inputs.duckdb-repo || inputs.duckdb-repo == '' || needs.get-latest-ref.outputs.latest_ref != '' }}
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -244,7 +244,7 @@ jobs:
path: deps/linux_arm64/*
retention-days: 1
commit:
if: ${{ !inputs.duckdb-repo && needs.get-latest-ref.output.latest_ref != '' }}
if: ${{ !inputs.duckdb-repo || inputs.duckdb-repo == '' || needs.get-latest-ref.outputs.latest_ref != '' }}
runs-on: ubuntu-latest
needs: [get-latest-ref, headers, darwin_amd64, darwin_arm64, linux_amd64, linux_arm64]
steps:
Expand Down

0 comments on commit 88ae2b3

Please sign in to comment.