mirror of
https://github.com/mamoe/mirai.git
synced 2024-12-29 10:00:13 +08:00
[core] Ensure MPP metadata with all available platforms is uploaded before uploading platform artifacts. Fix #2270
This commit is contained in:
parent
eab14647e1
commit
1d6e6ea67d
6
.github/workflows/release.yml
vendored
6
.github/workflows/release.yml
vendored
@ -22,7 +22,8 @@ jobs:
|
||||
- macos-12
|
||||
env:
|
||||
enableLocalPublishingTest: 'false'
|
||||
gradleArgs: --scan "-Dmirai.target=jvm;android;!other" "-Pkotlin.compiler.execution.strategy=in-process"
|
||||
# All targets MUST be enabled. See #2270.
|
||||
gradleArgs: --scan "-Dmirai.target=other" "-Pkotlin.compiler.execution.strategy=in-process"
|
||||
isMac: ${{ startsWith(matrix.os, 'macos') }}
|
||||
isWindows: ${{ startsWith(matrix.os, 'windows') }}
|
||||
isUbuntu: ${{ startsWith(matrix.os, 'ubuntu') }}
|
||||
@ -110,6 +111,7 @@ jobs:
|
||||
|
||||
publish-core-native:
|
||||
name: "Native (${{ matrix.os }})"
|
||||
needs: [ publish-others ] # Allow MPP metadata to be uploaded first.
|
||||
runs-on: ${{ matrix.os }}
|
||||
strategy:
|
||||
fail-fast: false
|
||||
@ -117,7 +119,7 @@ jobs:
|
||||
os:
|
||||
- windows-2022
|
||||
- ubuntu-20.04
|
||||
- macos-12
|
||||
# - macos-12 # macOS artifacts published in 'publish-others'
|
||||
include:
|
||||
- os: windows-2022
|
||||
targetName: mingwX64
|
||||
|
Loading…
Reference in New Issue
Block a user