build: remove hook #18
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 a tag" | |
on: | |
push: | |
tags: | |
- v* | |
jobs: | |
release: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: 'true' | |
- run: git fetch --prune --unshallow | |
- name: Install Task | |
uses: arduino/setup-task@v2 | |
- name: Install Go | |
uses: actions/setup-go@v4 | |
- name: Install xgo | |
run: go install src.techknowlogick.com/xgo@latest | |
- name: Prepare assets | |
run: task cross | |
- name: Create release | |
uses: goreleaser/goreleaser-action@v5 | |
with: | |
version: latest | |
args: release --clean | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |