修正build_release_extra.yml

This commit is contained in:
e1732a364fed
2000-01-01 00:00:00 +00:00
parent 40156e0682
commit b7a4976bab

View File

@@ -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: