|
17 | 17 | - uses: actions/setup-dotnet@v3
|
18 | 18 | with:
|
19 | 19 | dotnet-version: "8.x"
|
20 |
| - source-url: https://nuget.pkg.github.com/theeightbot/index.json |
21 |
| - env: |
22 |
| - NUGET_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}} |
23 | 20 |
|
24 | 21 | - name: Semver Parse
|
25 | 22 | id: version
|
|
30 | 27 | - name: Create the package
|
31 | 28 | run: dotnet pack --configuration Release /p:AssemblyVersion=${{ steps.version.outputs.major }}.${{ steps.version.outputs.minor }}.${{ steps.version.outputs.patch }} /p:Version=${{ steps.version.outputs.major }}.${{ steps.version.outputs.minor }}.${{ steps.version.outputs.patch }} TychoDB.JsonSerializer/TychoDB.JsonSerializer.csproj
|
32 | 29 | - name: Publish the package to GPR
|
33 |
| - run: dotnet nuget push TychoDB.JsonSerializer/bin/Release/*.nupkg |
| 30 | + run: dotnet nuget push TychoDB.JsonSerializer/bin/Release/*.nupkg --api-key "${{secrets.GITHUB_TOKEN}}" --source https://nuget.pkg.github.com/theeightbot/index.json |
34 | 31 | - name: Publish the package to NuGet
|
35 | 32 | run: dotnet nuget push TychoDB.JsonSerializer/bin/Release/*.nupkg --api-key "${{ secrets.EIGHTBOT_NUGET_APIKEY }}" --source https://api.nuget.org/v3/index.json
|
36 | 33 |
|
|
39 | 36 | - name: Create the package
|
40 | 37 | run: dotnet pack --configuration Release /p:AssemblyVersion=${{ steps.version.outputs.major }}.${{ steps.version.outputs.minor }}.${{ steps.version.outputs.patch }} /p:Version=${{ steps.version.outputs.major }}.${{ steps.version.outputs.minor }}.${{ steps.version.outputs.patch }} TychoDB.JsonSerializer.NewtonsoftJson/TychoDB.JsonSerializer.NewtonsoftJson.csproj
|
41 | 38 | - name: Publish the package to GPR
|
42 |
| - run: dotnet nuget push TychoDB.JsonSerializer.NewtonsoftJson/bin/Release/*.nupkg |
| 39 | + run: dotnet nuget push TychoDB.JsonSerializer.NewtonsoftJson/bin/Release/*.nupkg --api-key "${{secrets.GITHUB_TOKEN}}" --source https://nuget.pkg.github.com/theeightbot/index.json |
43 | 40 | - name: Publish the package to NuGet
|
44 | 41 | run: dotnet nuget push TychoDB.JsonSerializer.NewtonsoftJson/bin/Release/*.nupkg --api-key "${{ secrets.EIGHTBOT_NUGET_APIKEY }}" --source https://api.nuget.org/v3/index.json
|
45 | 42 |
|
|
48 | 45 | - name: Create the package
|
49 | 46 | run: dotnet pack --configuration Release /p:AssemblyVersion=${{ steps.version.outputs.major }}.${{ steps.version.outputs.minor }}.${{ steps.version.outputs.patch }} /p:Version=${{ steps.version.outputs.major }}.${{ steps.version.outputs.minor }}.${{ steps.version.outputs.patch }} TychoDB.JsonSerializer.SystemTextJson/TychoDB.JsonSerializer.SystemTextJson.csproj
|
50 | 47 | - name: Publish the package to GPR
|
51 |
| - run: dotnet nuget push TychoDB.JsonSerializer.SystemTextJson/bin/Release/*.nupkg |
| 48 | + run: dotnet nuget push TychoDB.JsonSerializer.SystemTextJson/bin/Release/*.nupkg --api-key "${{secrets.GITHUB_TOKEN}}" --source https://nuget.pkg.github.com/theeightbot/index.json |
52 | 49 | - name: Publish the package to NuGet
|
53 | 50 | run: dotnet nuget push TychoDB.JsonSerializer.SystemTextJson/bin/Release/*.nupkg --api-key "${{ secrets.EIGHTBOT_NUGET_APIKEY }}" --source https://api.nuget.org/v3/index.json
|
54 | 51 |
|
|
57 | 54 | - name: Create the package
|
58 | 55 | run: dotnet pack --configuration Release /p:AssemblyVersion=${{ steps.version.outputs.major }}.${{ steps.version.outputs.minor }}.${{ steps.version.outputs.patch }} /p:Version=${{ steps.version.outputs.major }}.${{ steps.version.outputs.minor }}.${{ steps.version.outputs.patch }} TychoDB/TychoDB.csproj
|
59 | 56 | - name: Publish the package to GPR
|
60 |
| - run: dotnet nuget push TychoDB/bin/Release/*.nupkg |
| 57 | + run: dotnet nuget push TychoDB/bin/Release/*.nupkg --api-key "${{secrets.GITHUB_TOKEN}}" --source https://nuget.pkg.github.com/theeightbot/index.json |
61 | 58 | - name: Publish the package to NuGet
|
62 | 59 | run: dotnet nuget push TychoDB/bin/Release/*.nupkg --api-key "${{ secrets.EIGHTBOT_NUGET_APIKEY }}" --source https://api.nuget.org/v3/index.json
|
0 commit comments