Skip to content

Commit

Permalink
config: add actions
Browse files Browse the repository at this point in the history
  • Loading branch information
ericflores108 committed Apr 28, 2024
1 parent 0909abb commit a252ff5
Show file tree
Hide file tree
Showing 793 changed files with 353,888 additions and 3 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: goreleaser

on:
push:
# run only against tags
tags:
- '*'

permissions:
contents: write
# packages: write
# issues: write

jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- run: git fetch --force --tags
- uses: actions/setup-go@v3
with:
go-version: '>=1.20.0'
cache: true
- uses: goreleaser/goreleaser-action@v4
with:
distribution: goreleaser
version: ${{ env.GITHUB_REF_NAME }}
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.PUBLISHER_TOKEN }}
6 changes: 3 additions & 3 deletions .goreleaser.yaml → .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ builds:
goarch:
- amd64
- arm64
flags:
- -tags=pro dev

archives:
- format: tar.gz
Expand Down Expand Up @@ -50,4 +48,6 @@ brews:
owner: ericflores108
name: homebrew-one-env-cli
commit_author:
name: ericflores108
name: ericflores108
checksum:
name_template: 'checksums.txt'
21 changes: 21 additions & 0 deletions vendor/github.com/cpuguy83/go-md2man/v2/LICENSE.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 16 additions & 0 deletions vendor/github.com/cpuguy83/go-md2man/v2/md2man/md2man.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit a252ff5

Please sign in to comment.