File tree Expand file tree Collapse file tree 3 files changed +11
-13
lines changed Expand file tree Collapse file tree 3 files changed +11
-13
lines changed Original file line number Diff line number Diff line change @@ -20,14 +20,12 @@ jobs:
20
20
6.x
21
21
8.x
22
22
cache : true
23
- env :
24
- NUGET_AUTH_TOKEN : ${{secrets.GITHUB_TOKEN}}
25
23
- name : Download chdb library
26
- run : ./update_libchdb.sh v1.2.0
24
+ run : ./update_libchdb.sh
27
25
- run : dotnet build --configuration Release
28
26
- name : Create the packages
29
27
run : dotnet pack --configuration Release --include-symbols
30
28
- name : Publish the package to nuget.org
31
29
run : dotnet nuget push nupkg/*.nupkg -k $NUGET_AUTH_TOKEN -s https://api.nuget.org/v3/index.json
32
30
env :
33
- NUGET_AUTH_TOKEN : ${{ secrets.NUGET_TOKEN }}
31
+ NUGET_AUTH_TOKEN : ${{secrets.NUGET_TOKEN}}
Original file line number Diff line number Diff line change 15
15
strategy :
16
16
matrix :
17
17
dotnet-version : ['8.x' ]
18
-
18
+
19
19
steps :
20
20
- uses : actions/checkout@v4
21
21
- name : Setup .NET Core 6.x
37
37
# path: libchdb.so
38
38
# key: ${{ runner.os }}-libchdb
39
39
- name : Download chdb library
40
- if : steps.cache-libchdb.outputs.cache-hit != 'true'
41
- run : ./update_libchdb.sh v1.2.0
40
+ # if: steps.cache-libchdb.outputs.cache-hit != 'true'
41
+ run : ./update_libchdb.sh
42
42
# - uses: actions/cache@v3
43
43
# with:
44
44
# path: ~/.nuget/packages
Original file line number Diff line number Diff line change 4
4
case " $( uname -s) " in
5
5
Linux)
6
6
if [[ $( uname -m) == " aarch64" ]]; then
7
- PLATFORM=" linux-aarch64-libchdb.tar.gz "
7
+ PLATFORM=" linux-aarch64"
8
8
else
9
- PLATFORM=" linux-x86_64-libchdb.tar.gz "
9
+ PLATFORM=" linux-x86_64"
10
10
fi
11
11
;;
12
12
Darwin)
13
13
if [[ $( uname -m) == " arm64" ]]; then
14
- PLATFORM=" macos-arm64-libchdb.tar.gz "
14
+ PLATFORM=" macos-arm64"
15
15
else
16
- PLATFORM=" macos-x86_64-libchdb.tar.gz "
16
+ PLATFORM=" macos-x86_64"
17
17
fi
18
18
;;
19
19
* )
26
26
LATEST_RELEASE=$( curl --silent " https://api.github.com/repos/chdb-io/chdb/releases/latest" | grep ' "tag_name":' | sed -E ' s/.*"([^"]+)".*/\1/' )
27
27
RELEASE=${1:- $LATEST_RELEASE }
28
28
29
- DOWNLOAD_URL=" https://github.com/chdb-io/chdb/releases/download/$RELEASE /$PLATFORM "
29
+ DOWNLOAD_URL=" https://github.com/chdb-io/chdb/releases/download/$RELEASE /$PLATFORM -libchdb.tar.gz "
30
30
31
- echo " Downloading $PLATFORM from $DOWNLOAD_URL (latest is $LATEST_RELEASE )"
31
+ echo " Downloading $PLATFORM -libchdb.tar.gz from $DOWNLOAD_URL (latest is $LATEST_RELEASE )"
32
32
33
33
# Download the file
34
34
curl -L -o libchdb.tar.gz " $DOWNLOAD_URL "
You can’t perform that action at this time.
0 commit comments