Skip to content

[release workflow]:modify publish args #2

[release workflow]:modify publish args

[release workflow]:modify publish args #2

Workflow file for this run

name: Release
on:
push:
tags:
- 'v**'
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Set go version
run: echo "GOVERSION=$(cat .go-version)" >> $GITHUB_ENV
- name: Set up go
uses: actions/setup-go@v2
with:
go-version: "${{env.GOVERSION}}"
- name: Release
uses: goreleaser/goreleaser-action@v2
with:
version: latest
workdir: dist
args: release --skip=publish
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}