Skip to content

try adding commit to version for devel builds #16

try adding commit to version for devel builds

try adding commit to version for devel builds #16

Workflow file for this run

name: Build & Test
on:
push:
branches:
- main
jobs:
build-darwin:
runs-on: macos-latest
steps:
- name: Set up Go
uses: actions/[email protected]
with:
go-version: "1.22.0"
- name: Check out Code
uses: actions/[email protected]
- name: Build
run: go build -v -ldflags "-X main.Version=${GITHUB_SHA::7}" -o kubectl-browse-pvc .
- name: Fix permissions
run: chmod +x ./kubectl-browse-pvc
- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
name: kubectl-browse-pvc-darwin
path: |
./kubectl-browse-pvc
LICENSE
build-linux:
runs-on: ubuntu-latest
steps:
- name: Set up Go
uses: actions/[email protected]
with:
go-version: "1.22.0"
- name: Check out Code
uses: actions/[email protected]
- name: Build
run: go build -v -ldflags "-X main.Version=${GITHUB_SHA::7}" -o kubectl-browse-pvc .
- name: Fix permissions
run: chmod +x ./kubectl-browse-pvc
- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
name: kubectl-browse-pvc-linux
path: |
./kubectl-browse-pvc
LICENSE