More CI/CD work. Gives up on asset uploads and tries pre-release.

This commit is contained in:
Sean E. Russell 2020-02-29 16:15:28 -06:00
parent 4ed2037b30
commit dd1ea52ff3
2 changed files with 33 additions and 8 deletions

View File

@ -9,14 +9,7 @@ jobs:
- name: Checkout
uses: actions/checkout@master
- name: Make binaries
- name: Compile
uses: xxxserxxx/actions/golang-build@master
with:
args: darwin/amd64/1 darwin/386/1 linux/amd64 linux/386 linux/arm64 linux/arm7 linux/arm6 linux/arm5 windows/amd64 windows/386 freebsd/amd64 freebsd/386
env:
COMPRESS_FILES: true
- uses: actions/upload-artifact@v1
with:
name: Binaries
path: .release

32
.github/workflows/prerelease.yml vendored Normal file
View File

@ -0,0 +1,32 @@
name: Build Go binaries
on:
push:
tags:
- "v*"
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@master
- name: Make binaries
uses: xxxserxxx/actions/golang-build@master
with:
args: darwin/amd64/1 darwin/386/1 linux/amd64 linux/386 linux/arm64 linux/arm7 linux/arm6 linux/arm5 windows/amd64 windows/386 freebsd/amd64 freebsd/386
env:
COMPRESS_FILES: true
- name: Pre-release
uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: "${{ GITHUB_REF }}"
draft: true
title: "Release candidate"
files: |
.release/*.tgz
.release/*.zip