mirror of
https://github.com/yudai/gotty.git
synced 2026-01-05 00:58:50 +01:00
Publish artifacts on push to master
This commit is contained in:
parent
679a3247c6
commit
6c62ab74b7
2 changed files with 43 additions and 6 deletions
37
.github/workflows/pre-release.yaml
vendored
Normal file
37
.github/workflows/pre-release.yaml
vendored
Normal 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/*
|
||||
Loading…
Add table
Add a link
Reference in a new issue