build(deps): bump the go group with 2 updates #111
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 | |
permissions: | |
contents: write | |
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 }} |