diff --git a/.github/workflows/nuget.yml b/.github/workflows/nuget.yml index 085cd97..944b34c 100644 --- a/.github/workflows/nuget.yml +++ b/.github/workflows/nuget.yml @@ -11,6 +11,13 @@ jobs: - uses: actions/checkout@v1 - name: Add GPR Source using nuget.exe run: nuget sources add -name "GPR" -Source https://nuget.pkg.github.com/wenytang-ms-123/index.json -Username wenytang-ms-123 -Password ${{ secrets.NUGET_PAT }} + + - name: build nuget + run: | + dotnet build --configuration Release + dotnet pack + working-directory: ./packages/simpleauth - name: release nuget run: | - nuget push release\Microsoft.TeamsFx.SimpleAuth.0.1.0.nupkg -source "GPR" -SkipDuplicate \ No newline at end of file + nuget push src\TeamsFxSimpleAuth\bin\Release\Microsoft.TeamsFx.SimpleAuth.0.1.0.nupkg -source "GPR" -SkipDuplicate + working-directory: ./packages/simpleauth \ No newline at end of file