Skip to content

Commit 905800d

Browse files
committed
Adding release pipeline to github actions
1 parent 037b21c commit 905800d

2 files changed

Lines changed: 18 additions & 0 deletions

File tree

‎.github/workflows/release.yml‎

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
on:
2+
create:
3+
tags:
4+
- v*
5+
name: Packman Release
6+
jobs:
7+
release-linux-amd64:
8+
name: release linux/amd64
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@master
12+
- name: compile and release
13+
uses: ngs/go-release.action@v1.0.1
14+
env:
15+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
16+
GOARCH: amd64
17+
GOOS: linux

‎.github/workflows/test.yml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ jobs:
44
test:
55
strategy:
66
matrix:
7+
max-parallel: 1
78
go-version: [1.12.x, 1.13.x]
89
platform: [ubuntu-latest, macos-latest, windows-latest]
910
runs-on: ${{ matrix.platform }}

0 commit comments

Comments
 (0)
⌂ 换网址