From b7a4976bab5e438d920c2cb414731b2c17c30469 Mon Sep 17 00:00:00 2001 From: e1732a364fed <75717694+e1732a364fed@users.noreply.github.com> Date: Sat, 1 Jan 2000 00:00:00 +0000 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3build=5Frelease=5Fextra.yml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build_release_extra.yml | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build_release_extra.yml b/.github/workflows/build_release_extra.yml index 80645aa..24fdbf6 100644 --- a/.github/workflows/build_release_extra.yml +++ b/.github/workflows/build_release_extra.yml @@ -13,6 +13,7 @@ jobs: matrix: os: [ubuntu-latest, windows-latest, macos-latest] goarch: [amd64, arm64] + fail-fast: false runs-on: ${{ matrix.os }} @@ -28,7 +29,13 @@ jobs: with: ref: ${{ github.event.inputs.tagName }} - - name: Show workflow information + - if: ${{ matrix.os }} == "ubuntu-latest" + name: install dependency for ubuntu + run: | + sudo apt-get install build-essential libgtk-3-dev + + - if: ${{ matrix.os }} != "windows-latest" + name: Show workflow information (not windows) id: get_filename run: | export _NAME=vs_gui_${{ matrix.os }}_${{ matrix.goarch }} @@ -36,6 +43,15 @@ jobs: echo "::set-output name=ASSET_NAME::$_NAME" echo "ASSET_NAME=$_NAME" >> $GITHUB_ENV + - if: ${{ matrix.os }} == "windows-latest" + name: Show workflow information (windows) + id: get_filename + run: | + set _NAME=vs_gui_${{ matrix.os }}_${{ matrix.goarch }} + echo "THEOS: $THEOS, GOARCH: $GOARCH, RELEASE_NAME: $_NAME" + echo "::set-output name=ASSET_NAME::$_NAME" + echo "ASSET_NAME=$_NAME" >> $GITHUB_ENV + - name: Set up Go uses: actions/setup-go@v2 with: