-
Notifications
You must be signed in to change notification settings - Fork 10
43 lines (34 loc) · 1.1 KB
/
Copy pathbuild-release-binaries.yml
File metadata and controls
43 lines (34 loc) · 1.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# src https://github.com/akrabat/rodeo/blob/main/.github/workflows/build-release-binaries.yml
name: Build Release Binaries
on:
release:
types:
- created
jobs:
build:
name: Build Release Assets
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.26'
- name: Display the version of go that we have installed
run: go version
- name: Display the release tag
run: echo ${{ github.event.release.tag_name }}
- name: "DEBUG: What's our directory & what's in it?"
run: pwd && ls
- name: Build the Kompanion executables
run: bash build_release.sh ${{ github.event.release.tag_name }}
- name: List the Kompanion executables
run: ls -l ./release
- name: Upload the Kompanion binaries
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
tag: ${{ github.ref }}
file: ./release/kompanion-*
file_glob: true