Skip to content

Commit

Permalink
ci: set up a GitHub Actions workflow to release minimock
Browse files Browse the repository at this point in the history
  • Loading branch information
suzuki-shunsuke committed Jan 4, 2024
1 parent 5777a1c commit c2c67a6
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
name: Release
on:
push:
tags: [v*]
permissions:
contents: write # To create releases
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: actions/[email protected]
with:
go-version: '1.21.5'
- uses: goreleaser/[email protected]
with:
version: v1.23.0
args: release --clean
env:
GITHUB_TOKEN: ${{ github.token }}

0 comments on commit c2c67a6

Please sign in to comment.