Skip to content

Show content of the file if argument is a file name #12

Show content of the file if argument is a file name

Show content of the file if argument is a file name #12

Workflow file for this run

name: Release
on:
push:
tags:
- v*
workflow_dispatch: {}
permissions:
contents: write
jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Fetch Git tags
run: git fetch --force --tags
- name: Setup Go
uses: actions/setup-go@v4
with:
go-version: 1.21.1 # datasource=github-releases depName=golang/go
- name: Goreleaser
uses: goreleaser/goreleaser-action@v5
with:
distribution: goreleaser
version: 1.20.0 # datasource=github-releases depName=goreleaser/goreleaser
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}