Skip to content

Commit

Permalink
Update build-and-release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
svc-design authored Oct 15, 2024
1 parent 8807694 commit 93cf9c9
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/build-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,12 @@ jobs:
- platform: windows
arch: x64

runs-on: ${{
runs-on: ${{
matrix.platform == 'windows' && 'windows-latest' ||
matrix.platform == 'linux' && 'ubuntu-latest' ||
matrix.platform == 'android' && 'ubuntu-latest' ||
matrix.platform == 'macos' && 'macos-latest' ||
matrix.platform == 'ios' && 'macos-latest'
}}
matrix.platform == 'ios' && 'macos-latest' }}

env:
PLATFORM: ${{ matrix.platform }}
Expand Down Expand Up @@ -153,7 +152,6 @@ jobs:
fi
- name: Create Release
if: env.tag_exists == '' # 只有在标签不存在时才创建
id: create_release
uses: actions/create-release@v1
with:
Expand Down

0 comments on commit 93cf9c9

Please sign in to comment.