-
Notifications
You must be signed in to change notification settings - Fork 6
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 #80 from payjp/feature/publish-to-pods
GHAでCocoaPodsにリリースする
- Loading branch information
Showing
1 changed file
with
25 additions
and
0 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,25 @@ | ||
name: release | ||
|
||
on: | ||
release: | ||
types: [published] | ||
|
||
jobs: | ||
release: | ||
runs-on: macos-14 | ||
timeout-minutes: 30 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Install Gems | ||
run: | | ||
bundle config set deployment 'true' | ||
bundle config set clean 'true' | ||
bundle install --jobs 4 --retry 3 | ||
- name: lint podspec | ||
run: bundle exec fastlane ios lint_podspec | ||
- name: publish to pod trunk | ||
run: | | ||
bundle exec pod trunk push PAYJP.podspec | ||
bundle exec pod trunk push PAYJPFlutterCore.podspec | ||
env: | ||
COCOAPODS_TRUNK_TOKEN: ${{ secrets.COCOAPODS_TRUNK_TOKEN }} |