From e50551dee690179f41cd16c1f074c5e4781a51c8 Mon Sep 17 00:00:00 2001 From: Hunter Long Date: Tue, 15 Dec 2020 01:24:28 -0800 Subject: [PATCH] github actions refactor --- .github/workflows/development.yml | 10 +++++----- .github/workflows/master.yml | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/development.yml b/.github/workflows/development.yml index 327f681f..ecc9844c 100644 --- a/.github/workflows/development.yml +++ b/.github/workflows/development.yml @@ -104,20 +104,20 @@ jobs: - name: Set Linux Build Flags if: matrix.platform == 'linux' run: | - echo "BUILD_FLAGS='-extldflags -static'" >> $GITHUB_ENV - echo "XGO_TAGS='-netgo,osusergo,linux,sqlite_omit_load_extension'" >> $GITHUB_ENV + echo "BUILD_FLAGS=-extldflags -static" >> $GITHUB_ENV + echo "XGO_TAGS=netgo osusergo linux sqlite_omit_load_extension" >> $GITHUB_ENV shell: bash - name: Set Darwin Build Flags 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 - name: Set Windows Build Flags if: matrix.platform == 'windows' run: | - echo "BUILD_FLAGS='-extldflags -static'" >> $GITHUB_ENV - echo "XGO_TAGS='netgo,osusergo,sqlite_omit_load_extension'" >> $GITHUB_ENV + echo "BUILD_FLAGS=-extldflags -static" >> $GITHUB_ENV + echo "XGO_TAGS=netgo osusergo sqlite_omit_load_extension" >> $GITHUB_ENV shell: bash - name: Build ${{ matrix.platform }}/${{ matrix.arch }} diff --git a/.github/workflows/master.yml b/.github/workflows/master.yml index 6c620799..088443da 100644 --- a/.github/workflows/master.yml +++ b/.github/workflows/master.yml @@ -104,20 +104,20 @@ jobs: - name: Set Linux Build Flags if: matrix.platform == 'linux' run: | - echo "BUILD_FLAGS='-extldflags -static'" >> $GITHUB_ENV - echo "XGO_TAGS='-netgo,osusergo,linux,sqlite_omit_load_extension'" >> $GITHUB_ENV + echo "BUILD_FLAGS=-extldflags -static" >> $GITHUB_ENV + echo "XGO_TAGS=netgo osusergo linux sqlite_omit_load_extension" >> $GITHUB_ENV shell: bash - name: Set Darwin Build Flags 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 - name: Set Windows Build Flags if: matrix.platform == 'windows' run: | - echo "BUILD_FLAGS='-extldflags -static'" >> $GITHUB_ENV - echo "XGO_TAGS='netgo,osusergo,sqlite_omit_load_extension'" >> $GITHUB_ENV + echo "BUILD_FLAGS=-extldflags -static" >> $GITHUB_ENV + echo "XGO_TAGS=netgo osusergo sqlite_omit_load_extension" >> $GITHUB_ENV shell: bash - name: Build ${{ matrix.platform }}/${{ matrix.arch }}