|
4 | 4 | name: Main Extension Distribution Pipeline
|
5 | 5 | on:
|
6 | 6 | push:
|
7 |
| - paths-ignore: |
8 |
| - - "*/**.md" |
9 |
| - - "*/**.yml" |
10 | 7 | pull_request:
|
11 | 8 | workflow_dispatch:
|
12 |
| - release: |
13 |
| - types: [published] |
14 | 9 |
|
15 | 10 | concurrency:
|
16 |
| - group: ${{ github.workflow }}-${{ github.ref }}-${{ github.head_ref || '' }}-${{ github.base_ref || '' }}-${{ github.ref != 'refs/heads/main' || github.sha }} |
| 11 | + group: ${{ github.workflow }}-${{ github.ref }}-${{ github.head_ref || '' }}-${{ github.base_ref || '' }}-${{ github.ref != 'refs/heads/main' && github.sha || '' }} |
17 | 12 | cancel-in-progress: true
|
18 | 13 |
|
19 | 14 | jobs:
|
20 |
| -# Temporarily disabled because main is broken |
21 |
| -# duckdb-next-build: |
22 |
| -# name: Build extension binaries (next) |
23 |
| -# uses: duckdb/extension-ci-tools/.github/workflows/_extension_distribution.yml@main |
24 |
| -# with: |
25 |
| -# duckdb_version: 1.1.2 |
26 |
| -# ci_tools_version: 1.1.2 |
27 |
| -# extension_name: chsql |
28 |
| - # We have to build v1.2.0 based due to go-duckdb restrictions |
29 |
| - duckdb-1-2-0-build: |
| 15 | + duckdb-next-build: |
30 | 16 | name: Build extension binaries
|
31 |
| - uses: duckdb/extension-ci-tools/.github/workflows/_extension_distribution.yml@v1.3.0 |
| 17 | + uses: duckdb/extension-ci-tools/.github/workflows/_extension_distribution.yml@main |
32 | 18 | with:
|
33 |
| - duckdb_version: v1.3.0 |
34 |
| - ci_tools_version: v1.3.0 |
| 19 | + duckdb_version: main |
| 20 | + ci_tools_version: main |
35 | 21 | extension_name: chsql
|
36 | 22 |
|
37 | 23 | duckdb-stable-build:
|
|
41 | 27 | duckdb_version: v1.3.0
|
42 | 28 | ci_tools_version: v1.3.0
|
43 | 29 | extension_name: chsql
|
44 |
| - |
45 |
| - release-all-artifacts: |
46 |
| - name: Process Extension Artifacts |
47 |
| - needs: [duckdb-1-3-0-build, duckdb-stable-build] |
48 |
| - if: github.event_name == 'release' && github.event.action == 'published' |
49 |
| - runs-on: ubuntu-latest |
50 |
| - steps: |
51 |
| - - uses: actions/checkout@v4 |
52 |
| - |
53 |
| - - name: Download all artifacts |
54 |
| - uses: actions/download-artifact@v4 |
55 |
| - with: |
56 |
| - path: downloaded-artifacts |
57 |
| - |
58 |
| - - name: List downloaded artifacts |
59 |
| - run: | |
60 |
| - mkdir to-upload; \ |
61 |
| - echo "Artifacts downloaded:" \ |
62 |
| - ls -la downloaded-artifacts; \ |
63 |
| - for l in `ls downloaded-artifacts`; do \ |
64 |
| - VER=`echo $l | cut -d '-' -f 2`; \ |
65 |
| - ARCH=`echo $l| cut -d '-' -f 4`; \ |
66 |
| - EXT=`ls downloaded-artifacts/$l | cut -b 7-`; \ |
67 |
| - mv downloaded-artifacts/$l/chsql.$EXT to-upload/chsql.$VER.$ARCH.$EXT; \ |
68 |
| - done; \ |
69 |
| - echo "Artifacts to be uploaded:" \ |
70 |
| - ls -la to-upload |
71 |
| -
|
72 |
| - - name: Upload Release Assets |
73 |
| - uses: softprops/action-gh-release@v1 |
74 |
| - with: |
75 |
| - files: to-upload/* |
0 commit comments