Skip to content

chore: Bump ver

chore: Bump ver #5

Workflow file for this run

name: ci
on:
push:
branches: [ "develop" ]
pull_request:
branches: [ "develop" ]
types: [opened, reopened, synchronize]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
goos: [linux]
goarch: [amd64, arm64, arm, riscv64]
steps:
- name: "[preparation] checkout the current branch"
uses: actions/checkout@v4
- name: "[preparation] set up golang"
uses: actions/setup-go@v5
with:
go-version-file: go.mod
cache-dependency-path: go.sum
- name: "[preparation] install cross-compilation toolchains"
run: sudo make install-cross-compilers
- name: "[execution] build the binary for ${{ matrix.goos }}/${{ matrix.goarch }}"
run: make build GOOS=${{ matrix.goos }} GOARCH=${{ matrix.goarch }}
- name: "[execution] upload artifact"
uses: actions/upload-artifact@v4
with:
name: kubesolo-${{ matrix.goos }}-${{ matrix.goarch }}
path: ./dist/kubesolo
retention-days: 30