File tree Expand file tree Collapse file tree 1 file changed +22
-11
lines changed Expand file tree Collapse file tree 1 file changed +22
-11
lines changed Original file line number Diff line number Diff line change 11name : release
22
33on :
4- pull_request :
54 push :
6- # run only against tags
7- tags :
8- - " *"
5+ branches :
6+ - main
97
108permissions :
119 contents : write
1210 packages : write
1311 id-token : write
12+ pull-requests : write
1413
1514jobs :
1615
17- goreleaser :
16+ release-please :
1817 runs-on : ubuntu-latest
18+ outputs :
19+ release_created : ${{ steps.release.outputs.release_created }}
20+ steps :
21+ - uses : googleapis/release-please-action@v4
22+ id : release
23+ with :
24+ release-type : go
25+
26+ go-releaser :
27+ runs-on : ubuntu-latest
28+ if : ${{ needs.release-please.outputs.release_created == 'true' }}
1929 steps :
2030
2131 - name : Checkout
@@ -28,16 +38,17 @@ jobs:
2838 with :
2939 go-version-file : go.mod
3040
41+ - name : Login to GitHub Container Registry
42+ uses : docker/login-action@v3
43+ with :
44+ registry : ghcr.io
45+ username : ${{ github.actor }}
46+ password : ${{ secrets.GITHUB_TOKEN }}
47+
3148 - name : Run GoReleaser
3249 uses : goreleaser/goreleaser-action@v6
3350 with :
3451 version : " ~> v2"
3552 args : release --clean
3653 env :
3754 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
38-
39- - name : Upload assets
40- uses : actions/upload-artifact@v4
41- with :
42- name : firebolt-mcp-server
43- path : dist/*
You can’t perform that action at this time.
0 commit comments