Skip to content

Commit 1b9a910

Browse files
committed
feat(ci): release assets pipeline
1 parent c423874 commit 1b9a910

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed

.github/workflows/release.yaml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: Release
2+
3+
on:
4+
push:
5+
tags:
6+
- '*'
7+
8+
concurrency:
9+
# Only run once for latest commit per ref and cancel other (previous) runs.
10+
group: ${{ github.workflow }}-${{ github.ref }}
11+
cancel-in-progress: true
12+
13+
env:
14+
GO_VERSION: 1.23
15+
16+
jobs:
17+
build:
18+
name: Build
19+
runs-on: macos-latest
20+
steps:
21+
- name: Checkout
22+
uses: actions/checkout@v4
23+
- uses: actions/setup-go@v5
24+
with:
25+
go-version: ${{ env.GO_VERSION }}
26+
- name: Build
27+
run: make build-all-platforms
28+
- name: Test
29+
run: make test
30+
- name: Upload artifacts
31+
uses: softprops/action-gh-release@v2
32+
with:
33+
generate_release_notes: true
34+
make_latest: true
35+
files: |
36+
LICENSE
37+
kubernetes-mcp-server-*

0 commit comments

Comments
 (0)