File tree Expand file tree Collapse file tree 1 file changed +10
-6
lines changed Expand file tree Collapse file tree 1 file changed +10
-6
lines changed Original file line number Diff line number Diff line change 99 - " */**.yml"
1010 pull_request :
1111 workflow_dispatch :
12+ release :
13+ types : [published]
1214
1315concurrency :
1416 group : ${{ github.workflow }}-${{ github.ref }}-${{ github.head_ref || '' }}-${{ github.base_ref || '' }}-${{ github.ref != 'refs/heads/main' || github.sha }}
@@ -40,10 +42,10 @@ jobs:
4042 ci_tools_version : v1.2.1
4143 extension_name : chsql
4244
43- process -all-artifacts :
45+ release -all-artifacts :
4446 name : Process Extension Artifacts
4547 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'
4749 runs-on : ubuntu-latest
4850 steps :
4951 - uses : actions/checkout@v4
@@ -56,16 +58,18 @@ jobs:
5658 - name : List downloaded artifacts
5759 run : |
5860 mkdir to-upload; \
61+ echo "Artifacts downloaded:" \
5962 ls -la downloaded-artifacts; \
6063 for l in `ls downloaded-artifacts`; do \
6164 VER=`echo $l | cut -d '-' -f 2`; \
6265 ARCH=`echo $l| cut -d '-' -f 4`; \
6366 EXT=`ls downloaded-artifacts/$l | cut -b 7-`; \
6467 mv downloaded-artifacts/$l/chsql.$EXT to-upload/chsql.$VER.$ARCH.$EXT; \
6568 done; \
69+ echo "Artifacts to be uploaded:" \
6670 ls -la to-upload
6771
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