Skip to content

Commit 6c9b094

Browse files
author
Faycal Bououza
committed
Update ci for next branch
1 parent c4c2678 commit 6c9b094

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ on:
77
- 'feature/*'
88
- 'fix/*'
99
- 'release/*'
10+
- next
1011
tags:
1112
- 'v*'
1213
pull_request:
@@ -90,15 +91,15 @@ jobs:
9091
GOOS=windows GOARCH=amd64 go build -ldflags="${LDFLAGS}" -o build/pgxport.exe
9192
9293
- name: 📤 Upload Linux artifact
93-
if: github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/release/')
94+
if: github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/release/') || github.ref == 'refs/heads/next'
9495
uses: actions/upload-artifact@v4
9596
with:
9697
name: pgxport-linux-amd64
9798
path: build/pgxport
9899
retention-days: 3
99100

100101
- name: 📤 Upload Windows artifact
101-
if: github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/release/')
102+
if: github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/release/') || github.ref == 'refs/heads/next'
102103
uses: actions/upload-artifact@v4
103104
with:
104105
name: pgxport-windows-amd64

0 commit comments

Comments
 (0)