Merge tasks into single runner in workflows
This commit is contained in:
parent
350ef94e5d
commit
fca4ec6cab
26
.github/workflows/build.yaml
vendored
26
.github/workflows/build.yaml
vendored
@ -15,18 +15,18 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
- target: build
|
- os: ubuntu-latest
|
||||||
os: ubuntu-latest
|
tasks: build
|
||||||
- target: iosX64Test
|
|
||||||
os: macos-latest
|
- os: macos-latest
|
||||||
- target: macosX64Test
|
tasks: >
|
||||||
os: macos-latest
|
iosX64Test
|
||||||
- target: tvosX64Test
|
macosX64Test
|
||||||
os: macos-latest
|
tvosX64Test
|
||||||
- target: watchosX64Test
|
watchosX64Test
|
||||||
os: macos-latest
|
|
||||||
- target: mingwX64Test
|
- os: windows-latest
|
||||||
os: windows-latest
|
tasks: mingwX64Test
|
||||||
|
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
|
|
||||||
@ -53,4 +53,4 @@ jobs:
|
|||||||
uses: gradle/actions/setup-gradle@v3
|
uses: gradle/actions/setup-gradle@v3
|
||||||
|
|
||||||
- name: Build with Gradle Wrapper
|
- name: Build with Gradle Wrapper
|
||||||
run: ./gradlew ${{ matrix.target }}
|
run: ./gradlew ${{ matrix.tasks }}
|
||||||
|
78
.github/workflows/deploy.yaml
vendored
78
.github/workflows/deploy.yaml
vendored
@ -18,52 +18,36 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
- target: publishAndroidNativeArm32PublicationToMavenRepository
|
- os: ubuntu-latest
|
||||||
os: ubuntu-latest
|
tasks: >
|
||||||
- target: publishAndroidNativeArm64PublicationToMavenRepository
|
publishAndroidNativeArm32PublicationToMavenRepository
|
||||||
os: ubuntu-latest
|
publishAndroidNativeArm64PublicationToMavenRepository
|
||||||
- target: publishAndroidNativeX64PublicationToMavenRepository
|
publishAndroidNativeX64PublicationToMavenRepository
|
||||||
os: ubuntu-latest
|
publishAndroidNativeX86PublicationToMavenRepository
|
||||||
- target: publishAndroidNativeX86PublicationToMavenRepository
|
publishJsPublicationToMavenRepository
|
||||||
os: ubuntu-latest
|
publishJvmPublicationToMavenRepository
|
||||||
- target: publishJsPublicationToMavenRepository
|
publishKotlinMultiplatformPublicationToMavenRepository
|
||||||
os: ubuntu-latest
|
publishLinuxArm64PublicationToMavenRepository
|
||||||
- target: publishJvmPublicationToMavenRepository
|
publishLinuxX64PublicationToMavenRepository
|
||||||
os: ubuntu-latest
|
publishWasmJsPublicationToMavenRepository
|
||||||
- target: publishKotlinMultiplatformPublicationToMavenRepository
|
|
||||||
os: ubuntu-latest
|
- os: windows-latest
|
||||||
- target: publishLinuxArm64PublicationToMavenRepository
|
tasks: publishMingwX64PublicationToMavenRepository
|
||||||
os: ubuntu-latest
|
|
||||||
- target: publishLinuxX64PublicationToMavenRepository
|
- os: macos-latest
|
||||||
os: ubuntu-latest
|
tasks: >
|
||||||
- target: publishWasmJsPublicationToMavenRepository
|
publishIosArm64PublicationToMavenRepository
|
||||||
os: ubuntu-latest
|
publishIosSimulatorArm64PublicationToMavenRepository
|
||||||
- target: publishMingwX64PublicationToMavenRepository
|
publishIosX64PublicationToMavenRepository
|
||||||
os: windows-latest
|
publishMacosArm64PublicationToMavenRepository
|
||||||
- target: publishIosArm64PublicationToMavenRepository
|
publishMacosX64PublicationToMavenRepository
|
||||||
os: macos-latest
|
publishTvosArm64PublicationToMavenRepository
|
||||||
- target: publishIosSimulatorArm64PublicationToMavenRepository
|
publishTvosSimulatorArm64PublicationToMavenRepository
|
||||||
os: macos-latest
|
publishTvosX64PublicationToMavenRepository
|
||||||
- target: publishIosX64PublicationToMavenRepository
|
publishWatchosArm32PublicationToMavenRepository
|
||||||
os: macos-latest
|
publishWatchosArm64PublicationToMavenRepository
|
||||||
- target: publishMacosArm64PublicationToMavenRepository
|
publishWatchosSimulatorArm64PublicationToMavenRepository
|
||||||
os: macos-latest
|
publishWatchosX64PublicationToMavenRepository
|
||||||
- target: publishMacosX64PublicationToMavenRepository
|
|
||||||
os: macos-latest
|
|
||||||
- target: publishTvosArm64PublicationToMavenRepository
|
|
||||||
os: macos-latest
|
|
||||||
- target: publishTvosSimulatorArm64PublicationToMavenRepository
|
|
||||||
os: macos-latest
|
|
||||||
- target: publishTvosX64PublicationToMavenRepository
|
|
||||||
os: macos-latest
|
|
||||||
- target: publishWatchosArm32PublicationToMavenRepository
|
|
||||||
os: macos-latest
|
|
||||||
- target: publishWatchosArm64PublicationToMavenRepository
|
|
||||||
os: macos-latest
|
|
||||||
- target: publishWatchosSimulatorArm64PublicationToMavenRepository
|
|
||||||
os: macos-latest
|
|
||||||
- target: publishWatchosX64PublicationToMavenRepository
|
|
||||||
os: macos-latest
|
|
||||||
|
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
|
|
||||||
@ -97,4 +81,4 @@ jobs:
|
|||||||
uses: gradle/actions/setup-gradle@v3
|
uses: gradle/actions/setup-gradle@v3
|
||||||
|
|
||||||
- name: Publish with Gradle Wrapper
|
- name: Publish with Gradle Wrapper
|
||||||
run: ./gradlew ${{ matrix.target }}
|
run: ./gradlew ${{ matrix.tasks }}
|
||||||
|
Loading…
Reference in New Issue
Block a user