mirror of
https://github.com/e1732a364fed/v2ray_simple.git
synced 2025-12-24 13:27:56 +08:00
修正build_release_extra.yml
This commit is contained in:
18
.github/workflows/build_release_extra.yml
vendored
18
.github/workflows/build_release_extra.yml
vendored
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user