Skip to content

Commit

Permalink
Update CI #patch
Browse files Browse the repository at this point in the history
  • Loading branch information
aromanov91 committed Oct 12, 2023
1 parent bac6393 commit e628506
Show file tree
Hide file tree
Showing 6 changed files with 58 additions and 129 deletions.
41 changes: 0 additions & 41 deletions .github/workflows/build-example.yml

This file was deleted.

38 changes: 0 additions & 38 deletions .github/workflows/build-swiftpm.yml

This file was deleted.

20 changes: 0 additions & 20 deletions .github/workflows/bump.yml

This file was deleted.

22 changes: 18 additions & 4 deletions .github/workflows/ci-pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,25 @@ jobs:

build-swiftpm:
name: Build SwiftPM
uses: ./.github/workflows/build-swiftpm.yml
uses: oversizedev/GithubWorkflows/.github/workflows/build-swiftpm.yml@main
strategy:
matrix:
packages: [OversizeKit, OversizeAdsKit, OversizeCalendarKit, OversizeContactsKit, OversizeLocationKit, OversizeNoticeKit, OversizeNotificationKit, OversizeOnboardingKit, OversizePhotoKit]
with:
package: ${{ matrix.packages }}
secrets: inherit

build-example:
name: Build Examples
name: Build Example
needs: build-swiftpm
uses: ./.github/workflows/build-example.yml
uses: oversizedev/GithubWorkflows/.github/workflows/build-ios-app.yml@main
with:
folder: AppExample
app: Example
secrets: inherit

tests:
name: Test
needs: build-example
uses: oversizedev/GithubWorkflows/.github/workflows/test.yml@main
secrets: inherit
40 changes: 40 additions & 0 deletions .github/workflows/ci-push.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: CI - Push

on:
push:
branches: ["main"]
workflow_dispatch:

jobs:

build-swiftpm:
name: Build SwiftPM
uses: oversizedev/GithubWorkflows/.github/workflows/build-swiftpm.yml@main
strategy:
matrix:
packages: [OversizeKit, OversizeAdsKit, OversizeCalendarKit, OversizeContactsKit, OversizeLocationKit, OversizeNoticeKit, OversizeNotificationKit, OversizeOnboardingKit, OversizePhotoKit]
with:
package: ${{ matrix.packages }}
secrets: inherit

build-example:
name: Build Example
needs: build-swiftpm
uses: oversizedev/GithubWorkflows/.github/workflows/build-ios-app.yml@main
with:
folder: AppExample
app: Example
secrets: inherit

tests:
name: Test
needs: build-example
uses: oversizedev/GithubWorkflows/.github/workflows/test.yml@main
secrets: inherit

bump:
name: Bump version
needs: tests
uses: oversizedev/GithubWorkflows/.github/workflows/bump.yml@main
secrets: inherit

26 changes: 0 additions & 26 deletions .github/workflows/ci.yml

This file was deleted.

0 comments on commit e628506

Please sign in to comment.