File tree Expand file tree Collapse file tree 1 file changed +21
-3
lines changed Expand file tree Collapse file tree 1 file changed +21
-3
lines changed Original file line number Diff line number Diff line change @@ -12,22 +12,40 @@ concurrency:
12
12
cancel-in-progress : true
13
13
14
14
jobs :
15
+ get_branch :
16
+ name : Get name of stable branch
17
+ runs-on : ubuntu-latest
18
+ outputs :
19
+ handle : ${{ steps.pass_through.outputs.branch }}
20
+ env :
21
+ DUCKDB_STABLE_BRANCH : ${{ vars.DUCKDB_STABLE_BRANCH }}
22
+ steps :
23
+ - name : Pass through
24
+ id : pass_through
25
+ shell : bash
26
+ run : |
27
+ echo "branch=$DUCKDB_STABLE_BRANCH" >> "$GITHUB_OUTPUT"
28
+
15
29
duckdb-stable-build :
16
30
name : Build extension binaries
31
+ needs :
32
+ - get_branch
17
33
uses : duckdb/extension-ci-tools/.github/workflows/_extension_distribution.yml@main
18
34
with :
19
- duckdb_version : ${{ vars.DUCKDB_STABLE_BRANCH }}
35
+ duckdb_version : ${{ needs.get_branch.outputs.branch }}
20
36
ci_tools_version : main
21
37
extension_name : postgres_scanner
22
38
exclude_archs : ' wasm_mvp;wasm_eh;wasm_threads;windows_amd64_mingw'
23
39
24
40
duckdb-stable-deploy :
25
41
name : Deploy extension binaries
26
- needs : duckdb-stable-build
42
+ needs :
43
+ - get_branch
44
+ - duckdb-stable-build
27
45
uses : duckdb/extension-ci-tools/.github/workflows/_extension_deploy.yml@main
28
46
secrets : inherit
29
47
with :
30
- duckdb_version : ${{ vars.DUCKDB_STABLE_BRANCH }}
48
+ duckdb_version : ${{ needs.get_branch.outputs.branch }}
31
49
ci_tools_version : main
32
50
extension_name : postgres_scanner
33
51
exclude_archs : ' wasm_mvp;wasm_eh;wasm_threads;windows_amd64_mingw'
You can’t perform that action at this time.
0 commit comments