We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bacdfc9 commit 1b3cde8Copy full SHA for 1b3cde8
1 file changed
.github/workflows/build-and-pack.yml
@@ -3,12 +3,16 @@ name: .NET Build and Pack
3
on:
4
push:
5
branches: [ master, main ]
6
+ tags:
7
+ - 'v*'
8
pull_request:
9
10
11
jobs:
12
build:
13
runs-on: ubuntu-latest
14
+ permissions:
15
+ contents: write
16
17
steps:
18
- uses: actions/checkout@v4
@@ -31,3 +35,12 @@ jobs:
31
35
path: |
32
36
**/*.nupkg
33
37
**/*.snupkg
38
+
39
+ - name: Create Release
40
+ if: startsWith(github.ref, 'refs/tags/')
41
+ uses: softprops/action-gh-release@v2
42
+ with:
43
+ files: |
44
+ **/*.nupkg
45
+ **/*.snupkg
46
+ generate_release_notes: true
0 commit comments