Skip to content

Build and deploy DuckDB-Wasm extensions [DO NOT MERGE YET] #5

Build and deploy DuckDB-Wasm extensions [DO NOT MERGE YET]

Build and deploy DuckDB-Wasm extensions [DO NOT MERGE YET] #5

#
# This workflow calls the main distribution pipeline from DuckDB to build, test and (optionally) release the extension
#
name: Main Extension Distribution Pipeline
on:
push:
pull_request:
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.head_ref || '' }}-${{ github.base_ref || '' }}-${{ github.ref != 'refs/heads/main' || github.sha }}
cancel-in-progress: true
jobs:
duckdb-stable-build:
name: Build extension binaries
# if: startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/main'
uses: duckdb/duckdb/.github/workflows/_extension_distribution.yml@6812703823d1d66566bc7eaac2b6e4b273c85333
with:
duckdb_version: v0.9.2
extension_name: postgres_scanner
duckdb-stable-deploy:
name: Deploy extension binaries
needs: duckdb-stable-build
uses: ./.github/workflows/_extension_deploy.yml
secrets: inherit
with:
duckdb_version: v0.9.2
extension_name: postgres_scanner
deploy_latest: ${{ startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/main' }}
deploy_versioned: ${{ startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/main' }}
duckdb-wasm-stable-deploy:
name: Deploy Wasm extension binaries
needs: duckdb-stable-build
uses: ./.github/workflows/_extension_deploy_wasm.yml
secrets: inherit
with:
duckdb_version: v0.9.2
extension_name: postgres_scanner
deploy_latest: ${{ startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/main' }}
deploy_versioned: ${{ startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/main' }}