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:
2020 6.x
2121 8.x
2222 cache : true
23- env :
24- NUGET_AUTH_TOKEN : ${{secrets.GITHUB_TOKEN}}
2523 - name : Download chdb library
26- run : ./update_libchdb.sh v1.2.0
24+ run : ./update_libchdb.sh
2725 - run : dotnet build --configuration Release
2826 - name : Create the packages
2927 run : dotnet pack --configuration Release --include-symbols
3028 - name : Publish the package to nuget.org
3129 run : dotnet nuget push nupkg/*.nupkg -k $NUGET_AUTH_TOKEN -s https://api.nuget.org/v3/index.json
3230 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 1515 strategy :
1616 matrix :
1717 dotnet-version : ['8.x' ]
18-
18+
1919 steps :
2020 - uses : actions/checkout@v4
2121 - name : Setup .NET Core 6.x
3737# path: libchdb.so
3838# key: ${{ runner.os }}-libchdb
3939 - 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
4242# - uses: actions/cache@v3
4343# with:
4444# path: ~/.nuget/packages
Original file line number Diff line number Diff line change 44case " $( uname -s) " in
55 Linux)
66 if [[ $( uname -m) == " aarch64" ]]; then
7- PLATFORM=" linux-aarch64-libchdb.tar.gz "
7+ PLATFORM=" linux-aarch64"
88 else
9- PLATFORM=" linux-x86_64-libchdb.tar.gz "
9+ PLATFORM=" linux-x86_64"
1010 fi
1111 ;;
1212 Darwin)
1313 if [[ $( uname -m) == " arm64" ]]; then
14- PLATFORM=" macos-arm64-libchdb.tar.gz "
14+ PLATFORM=" macos-arm64"
1515 else
16- PLATFORM=" macos-x86_64-libchdb.tar.gz "
16+ PLATFORM=" macos-x86_64"
1717 fi
1818 ;;
1919 * )
2626LATEST_RELEASE=$( curl --silent " https://api.github.com/repos/chdb-io/chdb/releases/latest" | grep ' "tag_name":' | sed -E ' s/.*"([^"]+)".*/\1/' )
2727RELEASE=${1:- $LATEST_RELEASE }
2828
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 "
3030
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 )"
3232
3333# Download the file
3434curl -L -o libchdb.tar.gz " $DOWNLOAD_URL "
You can’t perform that action at this time.
0 commit comments