File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -38,13 +38,14 @@ jobs:
3838 - name : Vendor sources
3939 id : vendor
4040 run : |
41+ export REV=$(cd .git/duckdb && git rev-parse --short HEAD && cd ../..)
42+ echo "Updating vendored DuckDB sources to $REV"
4143 git config --global user.email "github_bot@duckdblabs.com"
4244 git config --global user.name "DuckDB Labs GitHub Bot"
4345 git rm -rf src/duckdb
4446 python vendor.py --duckdb .git/duckdb
4547 git add src/duckdb CMakeLists.txt
4648 rm -rf .git/duckdb
47- export REV=`git rev-parse --short HEAD`
4849 git commit -m "Update vendored DuckDB sources to $REV"
4950 git push --dry-run
5051 # Check if ahead of upstream branch
5859 run : |
5960 git push -u origin HEAD
6061
62+ - name : Wait for push to complete
63+ if : steps.vendor.outputs.vendor != '' && github.event_name != 'pull_request'
64+ run : sleep 10 # Give GitHub a moment to process the push
65+
6166 rebuild :
6267 needs : vendor
6368 if : ${{ needs.vendor.outputs.did_vendor != '' }}
You can’t perform that action at this time.
0 commit comments