mirror of
https://github.com/rancher/k3k.git
synced 2026-05-21 00:32:58 +00:00
Test release workflows (#173)
* goreleaser action * removed old release * fix gomega version in tests * updated build workflow * fix for empty var
This commit is contained in:
26
.github/workflows/build.yml
vendored
26
.github/workflows/build.yml
vendored
@@ -1,22 +1,34 @@
|
||||
name: Build
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
- main
|
||||
pull_request:
|
||||
|
||||
name: Build
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
build-cross-arch:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Cross Arch Build
|
||||
run: |
|
||||
make ci
|
||||
- name: Set up Go
|
||||
uses: actions/setup-go@v5
|
||||
with:
|
||||
go-version-file: go.mod
|
||||
|
||||
- name: Run GoReleaser
|
||||
uses: goreleaser/goreleaser-action@v6
|
||||
with:
|
||||
distribution: goreleaser
|
||||
version: v2
|
||||
args: --clean --snapshot
|
||||
env:
|
||||
CROSS: "true"
|
||||
REPO: ${{ github.repository }}
|
||||
REGISTRY:
|
||||
|
||||
Reference in New Issue
Block a user