Skip to content

v10.8.6-202508071258 #6

v10.8.6-202508071258

v10.8.6-202508071258 #6

name: Installer Release v10
on:
release:
types: [ 'released' ]
jobs:
build:
name: Build
runs-on: ubuntu-24.04
steps:
- name: Check out code into the right branch
uses: actions/checkout@v4
- name: Set up Go 1.x
uses: actions/setup-go@v5
with:
go-version: ^1.20
id: go
- name: Get dependencies
working-directory: ./installer
run: |
go get -v -t -d ./...
if [ -f Gopkg.toml ]; then
curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
dep ensure
fi
- name: Test
working-directory: ./installer
run: go test -v .
- name: Build
working-directory: ./installer
env:
GOOS: linux
GOARCH: amd64
run: go build -o installer -v .
- name: Create Release
id: create_release
uses: softprops/action-gh-release@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
body_path: ./CHANGELOG.md
draft: false
prerelease: false
files: |
./installer/installer