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 f959c38 commit 0ba2f41Copy full SHA for 0ba2f41
.github/workflows/release.yml
@@ -0,0 +1,22 @@
1
+name: Release Package
2
+
3
+on:
4
+ release:
5
+ types:
6
+ - published
7
8
+jobs:
9
10
+ environment: nuget
11
+ runs-on: ubuntu-latest
12
+ steps:
13
+ - uses: actions/checkout@v4
14
+ - uses: actions/setup-dotnet@v4
15
+ with:
16
+ dotnet-version: '8'
17
+ - name: pack and push
18
+ env:
19
+ nuget_key: ${{ secrets.NUGETAPIKEY }}
20
+ run: |
21
+ ./pack.sh ${GITHUB_REF:10}
22
+ dotnet nuget push ./artifacts/*.* -s https://api.nuget.org/v3/index.json -k $nuget_key --skip-duplicate
pack.sh
100644
100755
0 commit comments