We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7c4bfd0 commit f0ded45Copy full SHA for f0ded45
1 file changed
.github/workflows/nuget.yml
@@ -0,0 +1,22 @@
1
+name: Publish to NuGet
2
+
3
+on:
4
+ push:
5
+ tags:
6
+ - 'v*'
7
8
+jobs:
9
+ publish:
10
+ runs-on: ubuntu-latest
11
+ steps:
12
+ - uses: actions/checkout@v4
13
14
+ - uses: actions/setup-dotnet@v4
15
+ with:
16
+ dotnet-version: '8.0.x'
17
18
+ - run: dotnet restore PS3Sharp/PS3Sharp.csproj
19
20
+ - run: dotnet pack PS3Sharp/PS3Sharp.csproj -c Release -o ./nupkg
21
22
+ - run: dotnet nuget push ./nupkg/*.nupkg --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json --skip-duplicate
0 commit comments