Skip to content

Commit 315aed6

Browse files
authored
Merge pull request #9 from arran4/master
Created a github action to build and release it
2 parents 8b9231f + 7962435 commit 315aed6

1 file changed

Lines changed: 26 additions & 0 deletions

File tree

.github/workflows/releaser.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: releaser
2+
3+
on:
4+
push:
5+
tags:
6+
- '*.*.*'
7+
8+
jobs:
9+
ubuntubuild:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Checkout
13+
uses: actions/checkout@v2
14+
with:
15+
fetch-depth: 0
16+
- name: Build
17+
run: |
18+
sudo apt-get install -y build-essential gcc mingw-w64-tools zip gzip tar g++-mingw-w64-x86-64
19+
make
20+
tar czf linux-amd64.tar.gz mnencode mndecode
21+
- name: Upload release binaries
22+
uses: alexellis/upload-assets@0.4.0
23+
env:
24+
GITHUB_TOKEN: ${{ github.token }}
25+
with:
26+
asset_paths: '["linux-amd64.tar.gz"]'

0 commit comments

Comments
 (0)