mirror of https://github.com/statping/statping
github actions
parent
b2065a4db2
commit
106bad8b2e
|
@ -69,7 +69,7 @@ jobs:
|
||||||
uses: actions/upload-artifact@v1
|
uses: actions/upload-artifact@v1
|
||||||
with:
|
with:
|
||||||
name: static-frontend
|
name: static-frontend
|
||||||
path: /home/runner/work/statping/statping/source/rice-box.go
|
path: /home/runner/work/statping/statping/source/dist
|
||||||
|
|
||||||
test:
|
test:
|
||||||
needs: compile
|
needs: compile
|
||||||
|
@ -119,7 +119,7 @@ jobs:
|
||||||
uses: actions/download-artifact@v1
|
uses: actions/download-artifact@v1
|
||||||
with:
|
with:
|
||||||
name: static-frontend
|
name: static-frontend
|
||||||
path: /home/runner/work/statping/statping/source/rice-box.go
|
path: /home/runner/work/statping/statping/source/dist
|
||||||
|
|
||||||
- name: Install Statping
|
- name: Install Statping
|
||||||
env:
|
env:
|
||||||
|
@ -175,6 +175,11 @@ jobs:
|
||||||
with:
|
with:
|
||||||
go-version: '1.14.x'
|
go-version: '1.14.x'
|
||||||
|
|
||||||
|
- name: Install Node
|
||||||
|
uses: actions/setup-node@v1
|
||||||
|
with:
|
||||||
|
node-version: '10.x'
|
||||||
|
|
||||||
- uses: actions/cache@v1
|
- uses: actions/cache@v1
|
||||||
id: golangcache
|
id: golangcache
|
||||||
with:
|
with:
|
||||||
|
@ -195,13 +200,13 @@ jobs:
|
||||||
uses: actions/download-artifact@v1
|
uses: actions/download-artifact@v1
|
||||||
with:
|
with:
|
||||||
name: static-frontend
|
name: static-frontend
|
||||||
path: /home/runner/work/statping/statping/source/rice-box.go
|
path: /home/runner/work/statping/statping/source/dist
|
||||||
|
|
||||||
- name: Build Binaries
|
- name: Build Binaries
|
||||||
env:
|
env:
|
||||||
VERSION: ${{ env.VERSION }}
|
VERSION: ${{ env.VERSION }}
|
||||||
COMMIT: $GITHUB_SHA
|
COMMIT: $GITHUB_SHA
|
||||||
run: make build-bin build-win
|
run: make build-all
|
||||||
|
|
||||||
- name: Upload Release
|
- name: Upload Release
|
||||||
id: upload-release-asset
|
id: upload-release-asset
|
||||||
|
|
Loading…
Reference in New Issue