Browse Source

Merge pull request #206 from AsakusaRinne/auto_release_ci

ci: fix error of pushing package.
tags/v0.6.0
Rinne GitHub 2 years ago
parent
commit
335544ae49
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      .github/workflows/release.yml

+ 2
- 2
.github/workflows/release.yml View File

@@ -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

Loading…
Cancel
Save