Skip to content

chore: prepare alpha.11 #10

chore: prepare alpha.11

chore: prepare alpha.11 #10

Workflow file for this run

name: "Release"
on:
push:
tags:
- '**'
# Test Locally with:
# goreleaser build --skip-validate --snapshot
jobs:
goreleaser:
permissions: write-all
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/[email protected]
with:
fetch-depth: 0
- uses: actions/setup-go@v2
with:
go-version: '1.22.5'
- name: Clean up dist directory
run: rm -rf dist
- name: Build
uses: goreleaser/goreleaser-action@v5
with:
version: latest
args: build --skip-validate
- name: Release
uses: goreleaser/goreleaser-action@v5
if: startsWith(github.ref, 'refs/tags/')
with:
version: latest
args: release --skip-validate --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}