Skip to content

[envsec] Allow setting build env to dev or prod (#251) #17

[envsec] Allow setting build env to dev or prod (#251)

[envsec] Allow setting build env to dev or prod (#251) #17

Workflow file for this run

name: release
concurrency:
group: ${{ github.workflow }}-${{ github.ref || github.run_id }}
cancel-in-progress: true
on:
# Build/Release on demand
workflow_dispatch:
push:
tags:
- "*" # Tags that trigger a new release version
permissions:
contents: write
pull-requests: read
jobs:
tests:
uses: ./.github/workflows/tests.yml
release:
needs: tests
runs-on: ubuntu-latest
steps:
- name: Checkout Monorepo
uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: ./go.mod
- name: Release with goreleaser
uses: goreleaser/goreleaser-action@v5
with:
distribution: goreleaser
version: latest
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}