-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #10 from faberNovel/release/v0.1.0
Release 0.1.0
- Loading branch information
Showing
148 changed files
with
9,823 additions
and
23 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 |
---|---|---|
@@ -0,0 +1,38 @@ | ||
name: CI | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: macOS-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: 2.6.5 | ||
bundler-cache: true | ||
|
||
- name: Pods cache | ||
uses: actions/cache@v2 | ||
with: | ||
path: Pods | ||
key: ${{ runner.os }}-cocoapods-${{ hashFiles('**/Podfile.lock') }} | ||
|
||
- name: Pod install | ||
run: bundle exec pod install | ||
|
||
- name: Build and test | ||
env: | ||
GITHUB_API_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN_CI }} | ||
run: bundle exec fastlane ci_check | ||
|
||
- uses: actions/upload-artifact@v2 | ||
if: failure() | ||
with: | ||
name: test-artifacts | ||
path: tests_derived_data/Logs/Test/*.xcresult |
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,32 @@ | ||
name: Documentation | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Generate Documentation | ||
uses: SwiftDocOrg/swift-doc@master | ||
with: | ||
inputs: "Sources" | ||
format: html | ||
module-name: CompositionalLayoutDSL | ||
output: "Documentation" | ||
base-url: /CompositionalLayoutDSL/ | ||
# The documentation step is generating files as root, and so are not readable by the runner without that fix | ||
- name: Fix owner of generated files | ||
run: sudo chown $USER -R ./Documentation | ||
- name: Deploy to GitHub Pages | ||
uses: peaceiris/actions-gh-pages@v3 | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
publish_branch: docs | ||
publish_dir: ./Documentation | ||
user_name: 'github-actions[bot]' | ||
user_email: 'github-actions[bot]@users.noreply.github.com' |
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,54 @@ | ||
name: Prepare a new release | ||
|
||
on: | ||
workflow_dispatch: | ||
inputs: | ||
name: | ||
description: 'Version number' | ||
required: true | ||
|
||
jobs: | ||
build: | ||
runs-on: macOS-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: 2.6.5 | ||
|
||
- name: Bundle install | ||
run: bundle install | ||
|
||
- name: Create release branch | ||
env: | ||
LC_ALL: en_US.UTF-8 | ||
LANG: en_US.UTF-8 | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
GIT_COMMITTER_NAME: Bot Fabernovel | ||
GIT_AUTHOR_NAME: Bot Fabernovel | ||
GIT_COMMITTER_EMAIL: [email protected] | ||
GIT_AUTHOR_EMAIL: [email protected] | ||
run: bundle exec fastlane create_release_branch version:${{ github.event.inputs.name }} | ||
|
||
- name: Prepate release | ||
env: | ||
LC_ALL: en_US.UTF-8 | ||
LANG: en_US.UTF-8 | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
GIT_COMMITTER_NAME: Bot Fabernovel | ||
GIT_AUTHOR_NAME: Bot Fabernovel | ||
GIT_COMMITTER_EMAIL: [email protected] | ||
GIT_AUTHOR_EMAIL: [email protected] | ||
run: bundle exec fastlane prepare_release bypass_confirmations:true | ||
|
||
- name: Create release pull requests | ||
env: | ||
LC_ALL: en_US.UTF-8 | ||
LANG: en_US.UTF-8 | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
GIT_COMMITTER_NAME: Bot Fabernovel | ||
GIT_AUTHOR_NAME: Bot Fabernovel | ||
GIT_COMMITTER_EMAIL: [email protected] | ||
GIT_AUTHOR_EMAIL: [email protected] | ||
run: bundle exec fastlane create_release_pr |
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,29 @@ | ||
name: Release a new version | ||
|
||
on: | ||
workflow_dispatch | ||
|
||
jobs: | ||
build: | ||
runs-on: macOS-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: 2.6.5 | ||
|
||
- name: Bundle install | ||
run: bundle install | ||
|
||
- name: Prepare release | ||
env: | ||
LC_ALL: en_US.UTF-8 | ||
LANG: en_US.UTF-8 | ||
COCOAPODS_TRUNK_TOKEN: ${{ secrets.COCOAPODS_AP_TOKEN }} | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
GIT_COMMITTER_NAME: Bot Fabernovel | ||
GIT_AUTHOR_NAME: Bot Fabernovel | ||
GIT_COMMITTER_EMAIL: [email protected] | ||
GIT_AUTHOR_EMAIL: [email protected] | ||
run: bundle exec fastlane publish_release |
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 |
---|---|---|
|
@@ -5,6 +5,7 @@ | |
## Build generated | ||
build/ | ||
DerivedData | ||
tests_derived_data/ | ||
|
||
## Various settings | ||
*.pbxuser | ||
|
Oops, something went wrong.