Publish artifacts on push to master

This commit is contained in:
Søren L. Hansen 2021-06-03 13:29:57 -07:00
parent 679a3247c6
commit 6c62ab74b7
2 changed files with 43 additions and 6 deletions

37
.github/workflows/pre-release.yaml vendored Normal file
View file

@ -0,0 +1,37 @@
---
name: "pre-release"
on:
push:
branches:
- "master"
jobs:
pre-release:
name: "Pre Release"
runs-on: "ubuntu-latest"
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.16
- name: "Build & test"
run: "make tools release-artifacts"
- uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: "latest"
prerelease: true
title: "Development Build"
files: |
LICENSE
builds/dist/*