Skip to content

goreleaser

goreleaser #28

Workflow file for this run

name: Update version and release
on:
push:
branches:
- main
paths:
- '**/*.go'
workflow_dispatch:
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: git config
run: |
git config user.name "${GITHUB_ACTOR}"
git config user.email "${GITHUB_ACTOR}@users.noreply.github.com"
- run: npm install
- run: npm run release
env:
GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }}