mirror of https://github.com/statping/statping
xgo build matrix
parent
d14b188fde
commit
d9181abf53
|
@ -129,19 +129,19 @@ jobs:
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
- name: Set correct darwin platform name
|
- name: Set correct darwin platform name
|
||||||
if: matrix.platform == 'macos-latest'
|
if: matrix.platform == macos-latest
|
||||||
run: echo ::set-env name=PLATFORM::darwin
|
run: echo ::set-env name=PLATFORM::darwin
|
||||||
shell: bash
|
shell: bash
|
||||||
- name: Set correct linux platform name
|
- name: Set correct linux platform name
|
||||||
if: matrix.platform == 'ubuntu-latest'
|
if: matrix.platform == ubuntu-latest
|
||||||
run: echo ::set-env name=PLATFORM::linux
|
run: echo ::set-env name=PLATFORM::linux
|
||||||
shell: bash
|
shell: bash
|
||||||
- name: Set correct windows name
|
- name: Set correct windows name
|
||||||
if: matrix.platform == 'windows-latest'
|
if: matrix.platform == windows-latest
|
||||||
run: echo ::set-env name=PLATFORM::windows
|
run: echo ::set-env name=PLATFORM::windows
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
||||||
- name: Download Compiled Frontend (rice-box.go)
|
- name: Download Statping
|
||||||
uses: actions/download-artifact@v1
|
uses: actions/download-artifact@v1
|
||||||
with:
|
with:
|
||||||
name: statping-${{ env.PLATFORM }}-amd64
|
name: statping-${{ env.PLATFORM }}-amd64
|
||||||
|
|
Loading…
Reference in New Issue