Skip to content

Commit

Permalink
Add .github directory
Browse files Browse the repository at this point in the history
  • Loading branch information
bodji committed Sep 24, 2021
1 parent 70c6139 commit aedf151
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: go_build

on:
release:
types: [created]

jobs:
build:
name: build_to_release
runs-on: ubuntu-latest
strategy:
matrix:
goos: [linux, windows, darwin]
goarch: [amd64]
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v2

- name: Get the version
id: get_version
run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//}

- name: Build plik
uses: wangyoucao577/go-release-action@master
with:
project_path: server
github_token: ${{ secrets.GITHUBTOKEN }}
goos: ${{ matrix.goos }}
goarch: ${{ matrix.goarch }}
binary_name: "plik"

0 comments on commit aedf151

Please sign in to comment.