Skip to content

Commit ed9fc46

Browse files
committed
polish
1 parent e00383b commit ed9fc46

3 files changed

Lines changed: 48 additions & 4 deletions

File tree

.github/workflows/CodeQuality.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Extension Code Quality
2+
on:
3+
pull_request:
4+
paths-ignore:
5+
- "**.md"
6+
- ".github/workflows/**"
7+
push:
8+
branches:
9+
- "**"
10+
paths-ignore:
11+
- "**.md"
12+
- ".github/workflows/**"
13+
workflow_dispatch:
14+
15+
concurrency:
16+
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.head_ref || '' }}-${{ github.base_ref || '' }}-${{ github.ref != 'refs/heads/main' && github.sha || '' }}
17+
cancel-in-progress: true
18+
19+
jobs:
20+
code-quality:
21+
name: Code Quality
22+
uses: duckdb/extension-ci-tools/.github/workflows/_extension_code_quality.yml@v1.4.3
23+
with:
24+
extension_name: lance
25+
duckdb_version: v1.3.2
26+
ci_tools_version: v1.4.3

.github/workflows/MainDistributionPipeline.yml

Lines changed: 21 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
name: Main Extension Distribution Pipeline
22
on:
33
push:
4-
branches: [main]
5-
pull_request:
6-
workflow_dispatch:
4+
tags:
5+
- "*"
76

87
concurrency:
98
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.head_ref || '' }}-${{ github.base_ref || '' }}-${{ github.ref != 'refs/heads/main' && github.sha || '' }}
@@ -19,3 +18,22 @@ jobs:
1918
extension_name: lance
2019
extra_toolchains: "rust"
2120
exclude_archs: "wasm_mvp;wasm_eh;wasm_threads;windows_amd64_mingw"
21+
22+
release:
23+
name: Create GitHub release
24+
runs-on: ubuntu-latest
25+
needs: duckdb-stable-build
26+
permissions:
27+
contents: write
28+
steps:
29+
- name: Download extension artifacts
30+
uses: actions/download-artifact@v4
31+
with:
32+
pattern: lance-*-extension-*
33+
path: artifacts
34+
35+
- name: Publish GitHub release
36+
uses: softprops/action-gh-release@v2
37+
with:
38+
files: artifacts/*
39+
generate_release_notes: true

0 commit comments

Comments
 (0)