From a6860c22fd29c4e53874f2b7b885607267bf3d8f Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Fri, 17 Jul 2020 11:00:11 -0400 Subject: [PATCH] update build --- .github/workflows/build.yml | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index adbfbd5458..84d5bc74a0 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -11,7 +11,7 @@ on: jobs: - cloc: + ubuntu: runs-on: ubuntu-latest steps: @@ -30,8 +30,6 @@ jobs: - name: Print environment run: | - nuget help - msbuild -version dotnet --info node --version npm --version @@ -69,7 +67,10 @@ jobs: - name: Tag version if: github.event_name == 'release' - run: ./build.sh tag _________ + run: ./build.sh tag $($env:RELEASE_TAG_NAME.TrimStart('v')) + shell: pwsh + env: + RELEASE_TAG_NAME: ${{ github.event.release.tag_name }} - name: List docker images if: github.ref == 'refs/heads/master' || github.event_name == 'release' @@ -89,7 +90,10 @@ jobs: - name: Push version images if: github.event_name == 'release' - run: ./build.sh push _________ + run: ./build.sh push $($env:RELEASE_TAG_NAME.TrimStart('v')) + shell: pwsh + env: + RELEASE_TAG_NAME: ${{ github.event.release.tag_name }} - name: Make docker stub run: | @@ -112,7 +116,7 @@ jobs: if: github.ref == 'refs/heads/master' || github.event_name == 'release' run: docker logout - android: + windows: runs-on: windows-latest steps: