Skip to content

Commit

Permalink
updating release (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
petershrom authored Mar 19, 2020
1 parent 2c0c7b7 commit fc65fb5
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 31 deletions.
29 changes: 0 additions & 29 deletions .github/workflows/build_release.yml

This file was deleted.

25 changes: 23 additions & 2 deletions .github/workflows/tag.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name: Tag Version
name: Tag, Release and Upload
on:
push:
branches:
- master
jobs:
Tag:
Release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand All @@ -26,3 +26,24 @@ jobs:
body: GitHub Actions Release
draft: false
prerelease: false
- name: Set up Go 1.14
uses: actions/setup-go@v1
with:
go-version: 1.14
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v2
- name: Deps & Build
shell: bash
run: |
export PATH=${PATH}:`go env GOPATH`/bin
make build-deps
make build
- name: Upload binaries to release
uses: svenstaro/upload-release-action@v1-release
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: buildenv-*
tag: ${{ steps.tag_release.outputs.tag }}
overwrite: true
file_glob: true

0 comments on commit fc65fb5

Please sign in to comment.