From 2f0fc1c73ee632090448fc055674bfad28509e63 Mon Sep 17 00:00:00 2001 From: Alexander Romanov Date: Sat, 16 Mar 2024 00:18:06 +0300 Subject: [PATCH] Update CI --- .github/workflows/ci.yml | 30 ++++++------------------------ 1 file changed, 6 insertions(+), 24 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e70b98c..aaacc4a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,32 +6,14 @@ on: workflow_dispatch: jobs: - build-oversizeComponents: - name: Build OversizeComponents + build-swiftpm: + name: Build packages uses: oversizedev/GithubWorkflows/.github/workflows/build-swiftpm.yml@main + strategy: + matrix: + packages: [OversizeComponents, OversizeHealthComponents, OversizePhotoComponents, OversizeWeatherComponents] with: - package: "OversizeComponents" - secrets: inherit - - build-healthComponents: - name: Build HealthComponents - uses: oversizedev/GithubWorkflows/.github/workflows/build-swiftpm.yml@main - with: - package: "OversizeHealthComponents" - secrets: inherit - - build-photoComponents: - name: Build PhotoComponents - uses: oversizedev/GithubWorkflows/.github/workflows/build-swiftpm.yml@main - with: - package: "OversizePhotoComponents" - secrets: inherit - - build-weatherComponents: - name: Build WeatherComponents - uses: oversizedev/GithubWorkflows/.github/workflows/build-swiftpm.yml@main - with: - package: "OversizeWeatherComponents" + package: ${{ matrix.packages }} secrets: inherit tests: