File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -97,10 +97,15 @@ jobs:
9797 - name : Pack `Shaders.Systems`
9898 run : dotnet pack "${{ github.event.repository.name }}/source" /p:Version=${VERSION} --no-build --output .
9999
100- - name : Add NuGet Source
100+ - name : Add GitHub source
101101 run : dotnet nuget add source https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json --name github --username ${{ github.repository_owner }} --password ${{ github.token }} --store-password-in-clear-text
102102
103- - name : Publish `Shaders.Systems`
104- run : dotnet nuget push SimulationTree.Shaders.Systems.${VERSION}.nupkg --source github --api-key ${NUGET_TOKEN }
103+ - name : Publish `Shaders.Systems` to GitHub registry
104+ run : dotnet nuget push SimulationTree.Shaders.Systems.${VERSION}.nupkg --source github --api-key ${API_KEY }
105105 env :
106- NUGET_TOKEN : ${{ secrets.NUGET_TOKEN }}
106+ API_KEY : ${{ secrets.NUGET_TOKEN_GITHUB }}
107+
108+ - name : Publish `Shaders.Systems` to official registry
109+ run : dotnet nuget push SimulationTree.Shaders.Systems.${VERSION}.nupkg --source nuget.org --api-key ${API_KEY}
110+ env :
111+ API_KEY : ${{ secrets.NUGET_TOKEN_OFFICIAL }}
You can’t perform that action at this time.
0 commit comments