mirror of
https://github.com/Rudi9719/kbtui.git
synced 2026-03-22 12:07:23 +00:00
Merge branch 'dev' of https://github.com/rudi9719/kbtui into dev
This commit is contained in:
23
.github/workflows/go.yml
vendored
23
.github/workflows/go.yml
vendored
@ -1,10 +1,12 @@
|
|||||||
name: Go
|
name: Go
|
||||||
on: [push]
|
on: [push]
|
||||||
jobs:
|
jobs:
|
||||||
|
|
||||||
build:
|
build:
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
platform: [ubuntu-latest, macos-latest, windows-latest]
|
||||||
name: Build
|
name: Build
|
||||||
runs-on: ubuntu-latest
|
runs-on: ${{ matrix.platform }}
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
- name: Set up Go 1.13
|
- name: Set up Go 1.13
|
||||||
@ -20,10 +22,19 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
go get -v -t -d ./...
|
go get -v -t -d ./...
|
||||||
go get github.com/magefile/mage
|
go get github.com/magefile/mage
|
||||||
if [ -f Gopkg.toml ]; then
|
|
||||||
curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
|
|
||||||
dep ensure
|
|
||||||
fi
|
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: go run build.go buildbeta
|
run: go run build.go buildbeta
|
||||||
|
- name: Upload Artifact
|
||||||
|
if: matrix.platform != 'windows-latest'
|
||||||
|
uses: actions/upload-artifact@v1.0.0
|
||||||
|
with:
|
||||||
|
name: kbtui-${{ matrix.platform }}-buildbeta
|
||||||
|
path: kbtui
|
||||||
|
|
||||||
|
- name: Upload Artifact
|
||||||
|
if: matrix.platform == 'windows-latest'
|
||||||
|
uses: actions/upload-artifact@v1.0.0
|
||||||
|
with:
|
||||||
|
name: kbtui-${{ matrix.platform }}-buildbeta
|
||||||
|
path: kbtui.exe
|
||||||
|
|||||||
Reference in New Issue
Block a user