File tree 1 file changed +10
-6
lines changed
1 file changed +10
-6
lines changed Original file line number Diff line number Diff line change 9
9
- " */**.yml"
10
10
pull_request :
11
11
workflow_dispatch :
12
+ release :
13
+ types : [published]
12
14
13
15
concurrency :
14
16
group : ${{ github.workflow }}-${{ github.ref }}-${{ github.head_ref || '' }}-${{ github.base_ref || '' }}-${{ github.ref != 'refs/heads/main' || github.sha }}
@@ -40,10 +42,10 @@ jobs:
40
42
ci_tools_version : v1.2.1
41
43
extension_name : chsql
42
44
43
- process -all-artifacts :
45
+ release -all-artifacts :
44
46
name : Process Extension Artifacts
45
47
needs : [duckdb-1-2-0-build, duckdb-stable-build]
46
- # if: github.event_name == 'release' && github.event.action == 'published'
48
+ if : github.event_name == 'release' && github.event.action == 'published'
47
49
runs-on : ubuntu-latest
48
50
steps :
49
51
- uses : actions/checkout@v4
@@ -56,16 +58,18 @@ jobs:
56
58
- name : List downloaded artifacts
57
59
run : |
58
60
mkdir to-upload; \
61
+ echo "Artifacts downloaded:" \
59
62
ls -la downloaded-artifacts; \
60
63
for l in `ls downloaded-artifacts`; do \
61
64
VER=`echo $l | cut -d '-' -f 2`; \
62
65
ARCH=`echo $l| cut -d '-' -f 4`; \
63
66
EXT=`ls downloaded-artifacts/$l | cut -b 7-`; \
64
67
mv downloaded-artifacts/$l/chsql.$EXT to-upload/chsql.$VER.$ARCH.$EXT; \
65
68
done; \
69
+ echo "Artifacts to be uploaded:" \
66
70
ls -la to-upload
67
71
68
- # - name: Upload Release Assets
69
- # uses: softprops/action-gh-release@v1
70
- # with:
71
- # files: to-upload/*
72
+ - name : Upload Release Assets
73
+ uses : softprops/action-gh-release@v1
74
+ with :
75
+ files : to-upload/*
You can’t perform that action at this time.
0 commit comments