From d0cb185b1da718c4116e878cdd65b243be6c8690 Mon Sep 17 00:00:00 2001 From: Yaohui Liu Date: Mon, 23 Oct 2023 20:32:30 +0800 Subject: [PATCH] ci: fix error of pushing package. --- .github/workflows/release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 945c3f03..065e6fdd 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -7,7 +7,7 @@ on: types: [ closed ] env: - NUGET_API_TOKEN: ${{ SECRETS.LLAMA_SHARP_NUGET_KEY }} + NUGET_API_TOKEN: ${{ secrets.LLAMA_SHARP_NUGET_KEY }} IS_MINOR: ${{contains(github.event.pull_request.labels.*.name, 'minor-release')}} IS_PATCH: ${{contains(github.event.pull_request.labels.*.name, 'patch-release')}} @@ -56,4 +56,4 @@ jobs: path: './temp' - name: Push LLamaSharp packages to nuget.org - run: dotnet nuget push ./temp/LLamaSharp*.nupkg --source https://www.nuget.org -k $NUGET_API_TOKEN --skip-duplicate + run: dotnet nuget push ./temp/LLamaSharp*.nupkg --source https://www.nuget.org -k "$NUGET_API_TOKEN" --skip-duplicate