We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 26ff8e5 commit 0c26936Copy full SHA for 0c26936
.github/workflows/publish-package.yml
@@ -36,15 +36,12 @@ jobs:
36
- name: Pack
37
run: dotnet pack --configuration Release --no-build
38
39
- - name: Install NuGet
40
- run: choco install nuget.commandline
41
-
42
- - name: Add NuGet source
43
- run: nuget sources Add -Name "GPR" -Source "https://nuget.pkg.github.com/mysql-net/index.json" -UserName bgrainger -Password ${{ secrets.GITHUB_TOKEN }}
+ - name: Install gpr tool
+ run: dotnet tool install -g gpr --no-cache -v q
44
45
- name: Publish packages
46
run: |
47
$files = Get-ChildItem -Path src -Filter *.nupkg -Recurse
48
foreach ($file in $files) {
49
- nuget push $file -Source GPR
+ gpr push --api-key $GITHUB_ACCESS_TOKEN $file
50
}
0 commit comments