Browse Source

ci: try to fix error of pushing package.

tags/v0.6.0
Yaohui Liu 2 years ago
parent
commit
74e16966fe
1 changed files with 10 additions and 1 deletions
  1. +10
    -1
      .github/workflows/release.yml

+ 10
- 1
.github/workflows/release.yml View File

@@ -14,5 +14,14 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Download Artifact
uses: actions/download-artifact@v2
with:
name: drop-ci-packages # 要下载的工件的名称
path: . # 工件下载到的路径

- name: Push LLamaSharp packages to nuget.org
run: dotnet nuget push ./temp/LLamaSharp*.nupkg --source https://www.nuget.org -k ${{ secrets.LLAMA_SHARP_NUGET_KEY }} --skip-duplicate
run: |
ls
ls ./temp
dotnet nuget push ./temp/LLamaSharp*.nupkg --source https://www.nuget.org -k ${{ secrets.LLAMA_SHARP_NUGET_KEY }} --skip-duplicate

Loading…
Cancel
Save