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 fe44321 commit f0950d2Copy full SHA for f0950d2
.github/workflows/publish
@@ -0,0 +1,27 @@
1
+name: Publish Package to GitHub Packages
2
+
3
+on:
4
+ release:
5
+ types: [published]
6
7
+jobs:
8
+ deploy:
9
+ runs-on: ubuntu-latest
10
11
+ steps:
12
+ - name: Checkout repository
13
+ uses: actions/checkout@v2
14
15
+ - name: Setup .NET Core
16
+ uses: actions/setup-dotnet@v1
17
+ with:
18
+ dotnet-version: '9.x'
19
20
+ - name: Install dependencies
21
+ run: dotnet restore
22
23
+ - name: Publish NuGet package
24
+ run: dotnet pack -c Release
25
26
+ - name: Push package to GitHub Packages
27
+ run: dotnet nuget push **/*.nupkg -s https://nuget.pkg.github.com/PSCourtney/index.json -k ${{ secrets.PAT_TOKEN }}
0 commit comments