Skip to content

Revert "Update go deps" #38

Revert "Update go deps"

Revert "Update go deps" #38

Workflow file for this run

name: Release
on:
push:
branches:
- 'main'
jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.x
uses: actions/setup-go@v2
with:
go-version: ^1.18
id: go
- name: Checkout code
uses: actions/checkout@v2
- name: Bump version and push tag
id: tag_version
uses: mathieudutour/github-tag-action@v5.6
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
dry_run: false
- name: Build cross-platform binaries
run: make release
env:
VERSION: ${{ steps.tag_version.outputs.new_tag }}
- name: Create release
uses: softprops/action-gh-release@v1
with:
tag_name: ${{ steps.tag_version.outputs.new_tag }}
name: Release ${{ steps.tag_version.outputs.new_tag }}
body: ${{ steps.tag_version.outputs.changelog }}
draft: false
prerelease: true
files: |
dist/**
LICENSE
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}