Skip to content

Release

Release #508

Workflow file for this run

name: Release
on:
schedule:
- cron: "0 21 * * 1"
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@v6
with:
distribution: goreleaser
version: 'latest'
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}