Skip to content

Commit 6ae7c7a

Browse files
committed
gh-45: Initial commit for automatic releases
1 parent 6eeff17 commit 6ae7c7a

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

.github/workflows/go.yml

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
on:
2+
push:
3+
branches:
4+
- "master"
5+
- "vicky/gh-45"
6+
name: "pre-release"
7+
jobs:
8+
pre-release:
9+
strategy:
10+
matrix:
11+
go-version: [1.15.x, 1.16.x]
12+
os: [ubuntu-latest, macos-latest, windows-latest]
13+
runs-on: ${{ matrix.os }}
14+
steps:
15+
- name: Install Go
16+
uses: actions/setup-go@v2
17+
with:
18+
go-version: 1.16.5
19+
- name: "Checkout source code"
20+
uses: "actions/[email protected]"
21+
- name: "Build for windows"
22+
run: go build -o . -v ./...
23+
- name: "release"
24+
uses: "marvinpinto/action-automatic-releases@latest"
25+
with:
26+
repo_token: "${{ secrets.GITHUB_TOKEN }}"
27+
automatic_release_tag: "latest"
28+
prerelease: true
29+
title: "Development Build"
30+
files: |
31+
README.md
32+
spinup-host

0 commit comments

Comments
 (0)