Skip to content

Commit

Permalink
Update CI
Browse files Browse the repository at this point in the history
  • Loading branch information
aromanov91 committed Nov 28, 2024
1 parent 3528f8c commit ce9c79e
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 33 deletions.
34 changes: 17 additions & 17 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,30 +12,30 @@ concurrency:
cancel-in-progress: true

jobs:
build-swiftpm:
name: Build SwiftPM
uses: oversizedev/GithubWorkflows/.github/workflows/build-swiftpm.yml@main
strategy:
matrix:
destination:
- platform=iOS Simulator,name=iPhone 16,OS=18.0
- platform=watchOS Simulator,name=Apple Watch SE (40mm) (2nd generation),OS=11.0
- platform=tvOS Simulator,name=Apple TV 4K (3rd generation) (at 1080p),OS=18.0
- platform=macOS,arch=arm64
with:
package: "OversizeAppStoreServices"
destination: ${{ matrix.destination }}
secrets: inherit

tests:
name: Test
needs: build-swiftpm
name: Tests
if: github.event_name != 'push' || !startsWith(github.ref, 'refs/tags/')
uses: oversizedev/GithubWorkflows/.github/workflows/test.yml@main
secrets: inherit

build-swiftpm:
name: Build SwiftPM
needs: tests
uses: oversizedev/GithubWorkflows/.github/workflows/build-swiftpm-all-platforms.yml@main
with:
package: OversizeAppStoreServices
secrets: inherit

bump:
name: Bump version
needs: tests
needs: build-swiftpm
if: github.ref == 'refs/heads/main'
uses: oversizedev/GithubWorkflows/.github/workflows/bump.yml@main
secrets: inherit

release:
name: Create Release
if: github.ref != 'refs/heads/main' && startsWith(github.ref, 'refs/tags/')
uses: oversizedev/GithubWorkflows/.github/workflows/release.yml@main
secrets: inherit
16 changes: 0 additions & 16 deletions .github/workflows/release.yml

This file was deleted.

0 comments on commit ce9c79e

Please sign in to comment.