build(deps): bump golang.org/x/tools from 0.11.0 to 0.12.0 #69
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: | |
branches: | |
- master | |
jobs: | |
release: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Setup Sage | |
uses: einride/sage/actions/setup@master | |
- name: Make | |
run: make | |
- name: Create Release | |
id: release | |
uses: go-semantic-release/[email protected] | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
allow-initial-development-versions: true | |
# Update tags for goreleaser to choose latest version | |
- name: Fetch tags | |
if: steps.release.outputs.version != '' | |
run: git fetch --force --tags | |
- name: Run goreleaser | |
if: steps.release.outputs.version != '' | |
uses: goreleaser/[email protected] | |
with: | |
version: latest | |
args: release --rm-dist | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |