Skip to content

Commit

Permalink
Create release-candidate.yml (#20)
Browse files Browse the repository at this point in the history
* Create release-candidate.yml

* Update release.yml
  • Loading branch information
nieomylnieja authored Jan 15, 2024
1 parent 4e14015 commit c0560f6
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/release-candidate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Release
on:
push:
tags:
- "^v[0-9]+.[0-9]+.[0-9]+-rc.*"
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout Source
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
check-latest: true
- name: Release Binaries
uses: goreleaser/goreleaser-action@v5
with:
version: latest
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GORELEASER_TOKEN }}
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:
jobs:
release:
runs-on: ubuntu-latest
environment: release
steps:
- name: Checkout Source
uses: actions/checkout@v4
Expand Down

0 comments on commit c0560f6

Please sign in to comment.