Skip to content

allow apic, usr, pwd from environment variables #31

allow apic, usr, pwd from environment variables

allow apic, usr, pwd from environment variables #31

Workflow file for this run

name: release
on:
push:
pull_request:
permissions:
contents: write
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: ">=1.20.0"
- name: Test
run: go test -v ./...
- name: Release
uses: goreleaser/goreleaser-action@v4
if: startsWith(github.ref, 'refs/tags/')
with:
distribution: goreleaser
version: latest
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}