-
Notifications
You must be signed in to change notification settings - Fork 46
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
15293ea
commit 9ad34a7
Showing
2 changed files
with
22 additions
and
19 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: build | ||
name: Build | ||
|
||
on: | ||
push: | ||
|
@@ -7,22 +7,23 @@ on: | |
branches: [main] | ||
|
||
jobs: | ||
swiftlint: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: checkout | ||
uses: actions/checkout@v3 | ||
- name: swiftlint | ||
uses: norio-nomura/[email protected] | ||
build: | ||
runs-on: macos-latest | ||
|
||
strategy: | ||
matrix: | ||
platform: [iOS, tvOS, watchOS, macOS, mac-catalyst] | ||
|
||
steps: | ||
- name: checkout | ||
uses: actions/checkout@v2 | ||
- name: build | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
|
||
- name: Run swiftlint | ||
uses: cirruslabs/swiftlint-action@v1 | ||
with: | ||
version: latest | ||
|
||
- name: Run xcodebuild | ||
run: | | ||
PLATFORM=${{ matrix.platform }} | ||
if [[ $PLATFORM == iOS ]]; then | ||
|
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,17 +1,19 @@ | ||
name: docc | ||
name: DocC documentation | ||
|
||
on: | ||
push: | ||
tags: | ||
- '*' | ||
push: | ||
tags: | ||
- "*" | ||
|
||
jobs: | ||
docbuild: | ||
runs-on: macos-latest | ||
|
||
steps: | ||
- name: checkout | ||
uses: actions/checkout@v3 | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
- name: docc | ||
run: ./toastui docc deploy | ||
|
||
- name: Deploy documentation | ||
run: ./toastui docc deploy |