Skip to content

Commit

Permalink
Update deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
hannes authored Jun 5, 2024
1 parent 7d65517 commit e602278
Showing 1 changed file with 19 additions and 4 deletions.
23 changes: 19 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ on:
workflow_dispatch

jobs:
generate_matrix:
name: Generate matrix
prepare:
name: Find extensions to deploy
runs-on: ubuntu-latest
outputs:
matrix: ${{ steps.set-matrix.outputs.matrix }}
Expand All @@ -30,15 +30,30 @@ jobs:
echo `cat $GITHUB_OUTPUT`
build:
needs: generate_matrix
needs: prepare
uses: ./.github/workflows/_extension_distribution.yml
strategy:
matrix: ${{fromJson(needs.generate_matrix.outputs.matrix)}}
matrix: ${{fromJson(needs.prepare.outputs.matrix)}}
with:
duckdb_version: main
extension_name: ${{ matrix.COMMUNITY_EXTENSION_NAME }}
exclude_archs: 'wasm_mvp;wasm_eh;wasm_threads;linux_amd64;linux_amd64_gcc4;linux_arm64;windows_amd64;windows_amd64_rtools'
repository: ${{ matrix.COMMUNITY_EXTENSION_GITHUB }}
ref: ${{ matrix.COMMUNITY_EXTENSION_REF }}

deploy:
needs:
- prepare
- build
uses: ./.github/workflows/_extension_deploy.yml.
strategy:
matrix: ${{fromJson(needs.prepare.outputs.matrix)}}
with:
deploy_latest: true
duckdb_version: main
extension_name: ${{ matrix.COMMUNITY_EXTENSION_NAME }}
exclude_archs: 'wasm_mvp;wasm_eh;wasm_threads;linux_amd64;linux_amd64_gcc4;linux_arm64;windows_amd64;windows_amd64_rtools'
repository: ${{ matrix.COMMUNITY_EXTENSION_GITHUB }}
ref: ${{ matrix.COMMUNITY_EXTENSION_REF }}


0 comments on commit e602278

Please sign in to comment.