Skip to content

Commit

Permalink
Trigger rebuild also on Nightly
Browse files Browse the repository at this point in the history
  • Loading branch information
carlopi committed Jul 15, 2024
1 parent 8d74727 commit 14fd8d3
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
1 change: 1 addition & 0 deletions .github/workflows/Java.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ name: Java JDBC
on:
push:
pull_request:
workflow_call:
workflow_dispatch:
repository_dispatch:

Expand Down
17 changes: 9 additions & 8 deletions .github/workflows/Nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,7 @@ on:
paths:
- ".github/workflows/Nightly.yml"
- "vendor.py"
# workflow_dispatch:
# inputs:
# # Git ref of the duckdb repo
# duckdb-ref:
# required: true
# type: string
workflow_dispatch:
schedule:
- cron: "17 0 * * *"

Expand All @@ -20,7 +15,7 @@ jobs:
vendor:
runs-on: ubuntu-latest
outputs:
sha: ${{ steps.commit.outputs.sha }}
did_vendor: ${{ steps.vendor.outputs.vendor }}

name: "Update vendored sources"
if: github.repository == 'duckdb/duckdb-java'
Expand Down Expand Up @@ -61,4 +56,10 @@ jobs:
- if: steps.vendor.outputs.vendor != '' && github.event_name != 'pull_request'
run: |
git push -u origin HEAD
git push -u origin HEAD
rebuild:
needs: vendor
if: ${{ needs.vendor.outputs.did_vendor != '' }}
uses: ./.github/workflows/Java.yml
secrets: inherit

0 comments on commit 14fd8d3

Please sign in to comment.