mirror of https://github.com/statping/statping
github actions refactor
parent
ee3b97508f
commit
e50551dee6
|
@ -104,20 +104,20 @@ jobs:
|
||||||
- name: Set Linux Build Flags
|
- name: Set Linux Build Flags
|
||||||
if: matrix.platform == 'linux'
|
if: matrix.platform == 'linux'
|
||||||
run: |
|
run: |
|
||||||
echo "BUILD_FLAGS='-extldflags -static'" >> $GITHUB_ENV
|
echo "BUILD_FLAGS=-extldflags -static" >> $GITHUB_ENV
|
||||||
echo "XGO_TAGS='-netgo,osusergo,linux,sqlite_omit_load_extension'" >> $GITHUB_ENV
|
echo "XGO_TAGS=netgo osusergo linux sqlite_omit_load_extension" >> $GITHUB_ENV
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
||||||
- name: Set Darwin Build Flags
|
- name: Set Darwin Build Flags
|
||||||
if: matrix.platform == 'darwin'
|
if: matrix.platform == 'darwin'
|
||||||
run: echo "XGO_TAGS='netgo,osusergo,darwin,sqlite_omit_load_extension'" >> $GITHUB_ENV
|
run: echo "XGO_TAGS=netgo osusergo darwin sqlite_omit_load_extension" >> $GITHUB_ENV
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
||||||
- name: Set Windows Build Flags
|
- name: Set Windows Build Flags
|
||||||
if: matrix.platform == 'windows'
|
if: matrix.platform == 'windows'
|
||||||
run: |
|
run: |
|
||||||
echo "BUILD_FLAGS='-extldflags -static'" >> $GITHUB_ENV
|
echo "BUILD_FLAGS=-extldflags -static" >> $GITHUB_ENV
|
||||||
echo "XGO_TAGS='netgo,osusergo,sqlite_omit_load_extension'" >> $GITHUB_ENV
|
echo "XGO_TAGS=netgo osusergo sqlite_omit_load_extension" >> $GITHUB_ENV
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
||||||
- name: Build ${{ matrix.platform }}/${{ matrix.arch }}
|
- name: Build ${{ matrix.platform }}/${{ matrix.arch }}
|
||||||
|
|
|
@ -104,20 +104,20 @@ jobs:
|
||||||
- name: Set Linux Build Flags
|
- name: Set Linux Build Flags
|
||||||
if: matrix.platform == 'linux'
|
if: matrix.platform == 'linux'
|
||||||
run: |
|
run: |
|
||||||
echo "BUILD_FLAGS='-extldflags -static'" >> $GITHUB_ENV
|
echo "BUILD_FLAGS=-extldflags -static" >> $GITHUB_ENV
|
||||||
echo "XGO_TAGS='-netgo,osusergo,linux,sqlite_omit_load_extension'" >> $GITHUB_ENV
|
echo "XGO_TAGS=netgo osusergo linux sqlite_omit_load_extension" >> $GITHUB_ENV
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
||||||
- name: Set Darwin Build Flags
|
- name: Set Darwin Build Flags
|
||||||
if: matrix.platform == 'darwin'
|
if: matrix.platform == 'darwin'
|
||||||
run: echo "XGO_TAGS='netgo,osusergo,darwin,sqlite_omit_load_extension'" >> $GITHUB_ENV
|
run: echo "XGO_TAGS=netgo osusergo darwin sqlite_omit_load_extension" >> $GITHUB_ENV
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
||||||
- name: Set Windows Build Flags
|
- name: Set Windows Build Flags
|
||||||
if: matrix.platform == 'windows'
|
if: matrix.platform == 'windows'
|
||||||
run: |
|
run: |
|
||||||
echo "BUILD_FLAGS='-extldflags -static'" >> $GITHUB_ENV
|
echo "BUILD_FLAGS=-extldflags -static" >> $GITHUB_ENV
|
||||||
echo "XGO_TAGS='netgo,osusergo,sqlite_omit_load_extension'" >> $GITHUB_ENV
|
echo "XGO_TAGS=netgo osusergo sqlite_omit_load_extension" >> $GITHUB_ENV
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
||||||
- name: Build ${{ matrix.platform }}/${{ matrix.arch }}
|
- name: Build ${{ matrix.platform }}/${{ matrix.arch }}
|
||||||
|
|
Loading…
Reference in New Issue