-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a6b8cc4
commit f2b5345
Showing
6 changed files
with
80 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
name: Build Example | ||
|
||
on: | ||
workflow_dispatch: | ||
workflow_call: | ||
|
||
concurrency: | ||
group: ${{ github.head_ref || github.run_id }} | ||
cancel-in-progress: true | ||
|
||
env: | ||
PACKAGE_NAME: OversizeUI | ||
|
||
jobs: | ||
|
||
swiftpm: | ||
name: Build SwiftPM | ||
runs-on: macOS-latest | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
|
||
- name: Build Package | ||
run: xcodebuild clean build -skipPackagePluginValidation -scheme ${{ env.PACKAGE_NAME }} -destination 'platform=iOS Simulator,name=iPhone 8,OS=16.2' | xcpretty && exit ${PIPESTATUS[0]} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
name: CI - Pull Request | ||
on: | ||
pull_request: | ||
branches: | ||
- 'main' | ||
workflow_dispatch: | ||
jobs: | ||
build-swiftpm: | ||
name: Build SwiftPM | ||
uses: ./.github/workflows/build-swiftpm.yml | ||
secrets: inherit | ||
build-example: | ||
name: Build Examples | ||
needs: build-swiftpm | ||
uses: ./.github/workflows/build-example.yml | ||
secrets: inherit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
name: CI - Release | ||
on: | ||
pull_request: | ||
types: | ||
- closed | ||
branches: | ||
- main | ||
workflow_dispatch: | ||
jobs: | ||
build-swiftpm: | ||
name: Build SwiftPM | ||
uses: ./.github/workflows/build-swiftpm.yml | ||
secrets: inherit | ||
build-example: | ||
name: Build Examples | ||
needs: build-swiftpm | ||
uses: ./.github/workflows/build-example.yml | ||
secrets: inherit | ||
bump: | ||
name: Bump version | ||
needs: [build-swiftpm, build-example] | ||
uses: ./.github/workflows/bump.yml | ||
secrets: inherit | ||
release: | ||
name: Release | ||
needs: [build-swiftpm, build-example, bump] | ||
uses: ./.github/workflows/release.yml | ||
secrets: inherit | ||
publish-docc: | ||
name: Publish docc | ||
needs: [build-swiftpm, build-example, bump] | ||
uses: ./.github/workflows/publish-docc.yml | ||
secrets: inherit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,8 @@ | ||
name: Release | ||
|
||
on: | ||
push: | ||
tags: | ||
- "*.*.*" | ||
workflow_dispatch: | ||
workflow_call: | ||
|
||
jobs: | ||
build: | ||
|