upload-artifact v3 #192
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# 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 | |
uses: duckdb/extension-ci-tools/.github/workflows/_extension_distribution.yml@main | |
with: | |
duckdb_version: main | |
extension_name: postgres_scanner | |
exclude_archs: 'wasm_mvp;wasm_eh;wasm_threads;windows_amd64_rtools' | |
duckdb-stable-deploy: | |
name: Deploy extension binaries | |
needs: duckdb-stable-build | |
uses: duckdb/extension-ci-tools/.github/workflows/_extension_deploy.yml@main | |
secrets: inherit | |
with: | |
duckdb_version: main | |
extension_name: postgres_scanner | |
exclude_archs: 'wasm_mvp;wasm_eh;wasm_threads;windows_amd64_rtools' | |
deploy_latest: ${{ startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/main' }} |