Skip to content

✨feat: allow directly passing profile as argument #25

✨feat: allow directly passing profile as argument

✨feat: allow directly passing profile as argument #25

Workflow file for this run

name: build
on:
push:
branches: [ main ]
tags: [ v* ]
pull_request: {}
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Set up Go ${{ matrix.node-version }}
uses: actions/setup-go@v2
with:
go-version: 1.20.x
- name: Cache Go modules
uses: actions/cache@v2
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Run Setup
run: go mod tidy
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
if: startsWith(github.ref, 'refs/tags/')
with:
version: latest
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}