Skip to content

Commit 13b53bc

Browse files
tautropfliFreeApophis
authored andcommitted
Upload NuGet artifacts for release branches
1 parent bec3bd3 commit 13b53bc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ name: Build
22

33
on:
44
push:
5-
branches: [ main, funcky3 ]
5+
branches: [ main, release/** ]
66
pull_request:
7-
branches: [ main, funcky3 ]
7+
branches: [ main, release/** ]
88

99
env:
1010
DOTNET_NOLOGO: 1
@@ -68,7 +68,7 @@ jobs:
6868
- name: Generate NuGet Packages
6969
run: dotnet pack --output nupkg
7070
- uses: actions/upload-artifact@v4
71-
if: success() && github.ref == 'refs/heads/main'
71+
if: success() && (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/release/'))
7272
with:
7373
name: nupkg
7474
path: nupkg/*

0 commit comments

Comments
 (0)