Skip to content
Permalink
Browse files

add release.yml

  • Loading branch information...
fujiwara committed Sep 13, 2019
1 parent 6d879e7 commit 6977dcce5358999d63a2ebe9dbafa5f9d007751b
Showing with 33 additions and 0 deletions.
  1. +33 −0 .github/workflows/release.yml
@@ -0,0 +1,33 @@
name: Release
on:
push:
branches:
- "!**/*"
tags:
- "v*"

jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- name: Set up Go
uses: actions/setup-go@v1
with:
go-version: 1.13

- name: Check out code into the Go module directory
uses: actions/checkout@v1

- name: setup tools
run: |
go get github.com/mitchellh/gox
go get github.com/tcnksm/ghr
- name: packages
run: PATH=~/go/bin:$PATH make packages

- name: release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: PATH=~/go/bin:$PATH make release

0 comments on commit 6977dcc

Please sign in to comment.
You can’t perform that action at this time.