Skip to content

0.2.0

0.2.0 #5

Workflow file for this run

name: Build and Release
on:
release:
types: [created]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
goos: [linux]
goarch: [amd64, arm64]
include:
- goos: linux
goarch: amd64
ext: ""
- goos: linux
goarch: arm64
ext: ""
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 1.22
- name: Build binary
run: |
mkdir -p bin
go get .
GOOS=${{ matrix.goos }} GOARCH=${{ matrix.goarch }} go build -o bin/ssm-go-${{ matrix.goos }}-${{ matrix.goarch }}${{ matrix.ext }} main.go
- name: Upload binaries to release
uses: softprops/action-gh-release@v1
with:
files: bin/*
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}