Skip to content

Import upstream fixes duckdb/extension-ci-tools#31 #60

Import upstream fixes duckdb/extension-ci-tools#31

Import upstream fixes duckdb/extension-ci-tools#31 #60

Workflow file for this run

name: Community Extension Build
on:
pull_request:
push:
jobs:
prepare:
outputs:
COMMUNITY_EXTENSION_NAME: ${{ steps.parse.outputs.COMMUNITY_EXTENSION_NAME }}
COMMUNITY_EXTENSION_GITHUB: ${{ steps.parse.outputs.COMMUNITY_EXTENSION_GITHUB }}
COMMUNITY_EXTENSION_REF: ${{ steps.parse.outputs.COMMUNITY_EXTENSION_REF }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Get all changed description files
id: changed-files
uses: tj-actions/changed-files@v44
with:
files: |
extensions/*/description.yml
- name: Parse description files
id: parse
env:
ALL_CHANGED_FILES: ${{ steps.changed-files.outputs.all_changed_files }}
run: |
pip install pyyaml
python scripts/build.py
cat env.sh >> $GITHUB_OUTPUT
echo `cat $GITHUB_OUTPUT`
build:
needs: prepare
uses: ./.github/workflows/_extension_distribution.yml
with:
duckdb_version: v1.0.0
extension_name: ${{ needs.prepare.outputs.COMMUNITY_EXTENSION_NAME }}
exclude_archs: 'wasm_mvp;wasm_eh;wasm_threads;windows_amd64_rtools'
repository: ${{ needs.prepare.outputs.COMMUNITY_EXTENSION_GITHUB }}
ref: ${{ needs.prepare.outputs.COMMUNITY_EXTENSION_REF }}
deploy:
needs:
- prepare
- build
uses: ./.github/workflows/_extension_deploy.yml
if: ${{ steps.changed-files.outputs.all_changed_files != '' }}

Check failure on line 50 in .github/workflows/build.yml

View workflow run for this annotation

GitHub Actions / Community Extension Build

Invalid workflow file

The workflow is not valid. .github/workflows/build.yml (Line: 50, Col: 9): Unrecognized named-value: 'steps'. Located at position 1 within expression: steps.changed-files.outputs.all_changed_files != ''
with:
deploy_latest: true
duckdb_version: v1.0.0
extension_name: ${{ needs.prepare.outputs.COMMUNITY_EXTENSION_NAME }}
exclude_archs: 'wasm_mvp;wasm_eh;wasm_threads;windows_amd64_rtools'
repository: ${{ needs.prepare.outputs.COMMUNITY_EXTENSION_GITHUB }}
ref: ${{ needs.prepare.outputs.COMMUNITY_EXTENSION_REF }}