You can not select more than 25 topics
Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- name: auto-release
-
- on:
- workflow_run:
- workflows: ["release-prepare"]
- types:
- - completed
-
- env:
- NUGET_API_TOKEN: ${{ secrets.LLAMA_SHARP_NUGET_KEY }}
-
- jobs:
- release_to_nuget:
- 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: |
- ls
- ls ./temp
- dotnet nuget push ./temp/LLamaSharp*.nupkg --source https://www.nuget.org -k ${{ secrets.LLAMA_SHARP_NUGET_KEY }} --skip-duplicate
|