Skip to content

Commit

Permalink
Update CI
Browse files Browse the repository at this point in the history
# Conflicts:
#	.github/workflows/ci-pull-request.yml
  • Loading branch information
aromanov91 committed Sep 26, 2024
1 parent 718b80a commit fcb58f6
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 122 deletions.
34 changes: 30 additions & 4 deletions .github/workflows/ci-pull-request.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
name: CI - Pull Request
name: CI
on:
pull_request:
types:
- closed
branches:
- main
push:
branches:
- '**'
workflow_dispatch:

jobs:
Expand All @@ -27,7 +32,7 @@ jobs:
uses: oversizedev/GithubWorkflows/.github/workflows/build-app.yml@main
strategy:
matrix:
destination:
destination:
- platform=iOS Simulator,name=iPhone 16 Pro,OS=18.0
- platform=iOS Simulator,name=iPad (10th generation),OS=18.0
with:
Expand All @@ -52,7 +57,7 @@ jobs:
uses: oversizedev/GithubWorkflows/.github/workflows/build-app.yml@main
strategy:
matrix:
destination:
destination:
- platform=tvOS Simulator,name=Apple TV 4K (3rd generation) (at 1080p),OS=18.0
- platform=tvOS Simulator,name=Apple TV 4K (3rd generation),OS=18.0
with:
Expand All @@ -67,10 +72,31 @@ jobs:
uses: oversizedev/GithubWorkflows/.github/workflows/build-app.yml@main
strategy:
matrix:
destination:
destination:
- platform=watchOS Simulator,name=Apple Watch SE (40mm) (2nd generation),OS=11.0
with:
path: Example/Example
scheme: Example (watchOS)
destination: ${{ matrix.destination }}
secrets: inherit

bump:
name: Bump version
if: github.ref == 'refs/heads/main'
needs:
- build-swiftpm
- build-iOS-example
- build-macOS-example
- build-tvOS-example
- build-watchOS-example

uses: oversizedev/GithubWorkflows/.github/workflows/bump.yml@main
secrets: inherit

publish-docc:
name: Publish docc
if: github.ref == 'refs/heads/main'
needs: bump
uses: ./.github/workflows/publish-docc.yml
secrets: inherit

81 changes: 0 additions & 81 deletions .github/workflows/ci-release.yml

This file was deleted.

37 changes: 0 additions & 37 deletions .github/workflows/publish-docc.yml

This file was deleted.

0 comments on commit fcb58f6

Please sign in to comment.