Skip to content

Commit 848b475

Browse files
authored
Update MainDistributionPipeline.yml
1 parent 7e43997 commit 848b475

File tree

1 file changed

+5
-51
lines changed

1 file changed

+5
-51
lines changed

.github/workflows/MainDistributionPipeline.yml

Lines changed: 5 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -4,34 +4,20 @@
44
name: Main Extension Distribution Pipeline
55
on:
66
push:
7-
paths-ignore:
8-
- "*/**.md"
9-
- "*/**.yml"
107
pull_request:
118
workflow_dispatch:
12-
release:
13-
types: [published]
149

1510
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 || '' }}
1712
cancel-in-progress: true
1813

1914
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:
3016
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
3218
with:
33-
duckdb_version: v1.3.0
34-
ci_tools_version: v1.3.0
19+
duckdb_version: main
20+
ci_tools_version: main
3521
extension_name: chsql
3622

3723
duckdb-stable-build:
@@ -41,35 +27,3 @@ jobs:
4127
duckdb_version: v1.3.0
4228
ci_tools_version: v1.3.0
4329
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

Comments
 (0)