|
23 | 23 | run: dotnet build --configuration Release src\MediaConverters\MediaConverters.sln |
24 | 24 |
|
25 | 25 | - name: Pack MediaConverters.Tool.ContextNuGet |
26 | | - run: | |
27 | | - dotnet pack --no-build true --configuration Release src\MediaConverters\MediaConverters.Tool.ContextNuGet\MediaConverters.Tool.ContextNuGet.csproj |
| 26 | + run: dotnet pack --no-build true --configuration Release src\MediaConverters\MediaConverters.Tool.ContextNuGet\MediaConverters.Tool.ContextNuGet.csproj |
28 | 27 |
|
29 | 28 | - name: Publish and Pack win-x86 |
30 | 29 | run: | |
|
36 | 35 | dotnet publish -c Release -r win-x64 src\MediaConverters\MediaConverters.Tool\MediaConverters.Tool.csproj |
37 | 36 | dotnet pack --configuration Release /p:RuntimeIdentifier=win-x64 src\MediaConverters\MediaConverters.Tool.RuntimeNuGet\MediaConverters.Tool.RuntimeNuGet.csproj |
38 | 37 |
|
39 | | - # - name: Add private GitHub registry to NuGet |
40 | | - # run: | |
41 | | - # dotnet nuget add source --username dotnet-campus --password ${{ secrets.GITHUB_TOKEN }} --store-password-in-clear-text --name github "https://nuget.pkg.github.com/dotnet-campus/index.json" |
42 | | - |
43 | 38 | - name: Push generated package to NuGet |
44 | 39 | run: | |
45 | 40 | dotnet nuget push .\bin\Release\*.nupkg -s https://api.nuget.org/v3/index.json -k ${{ secrets.NugetKey }} |
@@ -101,10 +96,6 @@ jobs: |
101 | 96 | dotnet publish -c Release -r linux-x64 src/MediaConverters/MediaConverters.Tool/MediaConverters.Tool.csproj |
102 | 97 | dotnet pack --configuration Release /p:RuntimeIdentifier=linux-x64 src/MediaConverters/MediaConverters.Tool.RuntimeNuGet/MediaConverters.Tool.RuntimeNuGet.csproj |
103 | 98 |
|
104 | | - # - name: Add private GitHub registry to NuGet |
105 | | - # run: | |
106 | | - # dotnet nuget add source --username dotnet-campus --password ${{ secrets.GITHUB_TOKEN }} --store-password-in-clear-text --name github "https://nuget.pkg.github.com/dotnet-campus/index.json" |
107 | | - |
108 | 99 | - name: Push generated package to NuGet |
109 | 100 | run: | |
110 | 101 | dotnet nuget push ./bin/Release/*.nupkg -s https://api.nuget.org/v3/index.json -k ${{ secrets.NugetKey }} |
@@ -138,11 +129,7 @@ jobs: |
138 | 129 | - name: Publish and Pack linux-arm64 |
139 | 130 | run: | |
140 | 131 | dotnet publish -c Release -r linux-arm64 src/MediaConverters/MediaConverters.Tool/MediaConverters.Tool.csproj |
141 | | - dotnet pack --configuration Release /p:RuntimeIdentifier=linux-arm64 src/MediaConverters/MediaConverters.Tool.RuntimeNuGet/MediaConverters.Tool.RuntimeNuGet.csproj |
142 | | -
|
143 | | - # - name: Add private GitHub registry to NuGet |
144 | | - # run: | |
145 | | - # dotnet nuget add source --username dotnet-campus --password ${{ secrets.GITHUB_TOKEN }} --store-password-in-clear-text --name github "https://nuget.pkg.github.com/dotnet-campus/index.json" |
| 132 | + dotnet pack --configuration Release /p:RuntimeIdentifier=linux-arm64 src/MediaConverters/MediaConverters.Tool.RuntimeNuGet/MediaConverters.Tool.RuntimeNuGet.csproj |
146 | 133 |
|
147 | 134 | - name: Push generated package to NuGet |
148 | 135 | run: | |
|
0 commit comments