Skip to content

Release

Release #530

Workflow file for this run

name: Release
on:
workflow_dispatch:
jobs:
GoReleaser:
runs-on: ubuntu-latest
steps:
- name: Delete Latest Tag And Release
uses: dev-drprasad/[email protected]
with:
delete_release: true
tag_name: latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Checkout Main
uses: actions/checkout@v3
- name: Tag Repo
uses: richardsimko/update-tag@v1
with:
tag_name: latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Checkout Latest
uses: actions/checkout@v3
with:
ref: latest
- name: Set Up Go
uses: actions/setup-go@v2
with:
go-version: 1.19
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v3
with:
version: v0.173.2
args: release --skip-validate --rm-dist
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}