Skip to content

ci: update release configuration and workflow #33

ci: update release configuration and workflow

ci: update release configuration and workflow #33

Workflow file for this run

name: Build
on:
pull_request:
branches:
- '*'
push:
branches:
- "master"
jobs:
build:
name: Build
runs-on: ubuntu-22.04
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Setup go
uses: actions/setup-go@v2
with:
go-version: 1.23
- name: Build binary
run: |-
go build -o ./dist/aws-saml .
./dist/aws-saml --version
- name: Build and publish release artifacts
uses: goreleaser/goreleaser-action@v6
with:
# https://github.com/goreleaser/goreleaser/releases/tag/v2.9.0
version: v2.9.0
args: release --skip=announce,publish,validate --clean