Merge pull request #313 from oasisprotocol/amela/sort-paratimes #14
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
name: release | |
on: | |
push: | |
tags: | |
- 'v[0-9]+.[0-9]+*' | |
permissions: | |
contents: write | |
jobs: | |
goreleaser: | |
runs-on: ubuntu-latest | |
container: | |
image: ghcr.io/goreleaser/goreleaser-cross:v1.22.3 | |
options: --user 1001 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Set up Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: "1.21.x" | |
- name: Install GoReleaser | |
uses: goreleaser/goreleaser-action@v5 | |
with: | |
install-only: true | |
distribution: goreleaser | |
version: 1.16.1 | |
- name: Build and publish the next release | |
run: | | |
make release-build | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |