Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
release: | |
types: [created] | |
permissions: | |
contents: write | |
jobs: | |
goreleaser: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v4.1.1 | |
with: | |
fetch-depth: 0 | |
- name: Set up Go | |
uses: actions/setup-go@v4.1.0 | |
with: | |
go-version: '1.21.4' | |
- | |
name: Run GoReleaser | |
uses: goreleaser/goreleaser-action@v5.0.0 | |
with: | |
distribution: goreleaser | |
version: ${{ env.GITHUB_REF_NAME }} | |
args: release --clean | |
workdir: ./ | |
env: | |
GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }} | |
homebrew: | |
name: Bump Homebrew formula | |
runs-on: ubuntu-latest | |
steps: | |
- uses: mislav/bump-homebrew-formula-action@v3 | |
with: | |
formula-name: archethic | |
formula-path: Formula/archethic.rb | |
homebrew-tap: archethic-foundation/homebrew-tap | |
env: | |
COMMITTER_TOKEN: ${{ secrets.RELEASE_TOKEN }} |