瀏覽代碼

Update nuget.yaml

tags/v2.7.2
yedajiang44 2 月之前
committed by GitHub
父節點
當前提交
0efef0e357
沒有發現已知的金鑰在資料庫的簽署中 GPG Key ID: B5690EEEBB952194
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. +3
    -3
      .github/workflows/nuget.yaml

+ 3
- 3
.github/workflows/nuget.yaml 查看文件

@@ -19,13 +19,13 @@ jobs:
dotnet-version: '9.0.100'

- name: Restore dependencies
run: dotnet restore
run: dotnet restore src/JT808.Protocol.sln

- name: Build
run: dotnet build --configuration Release --no-restore
run: dotnet build --configuration Release --no-restore src/JT808.Protocol.sln

- name: Pack NuGet package
run: dotnet pack --configuration Release --no-build --output ./output
run: dotnet pack --configuration Release --no-build --output ./output src/JT808.Protocol.sln

- name: Publish to NuGet
run: dotnet nuget push ./output/*.nupkg --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json


Loading…
取消
儲存