From f8a4bd25084e449c91296fe798a86ea32ca124e1 Mon Sep 17 00:00:00 2001 From: yatatsu Date: Fri, 30 Aug 2024 14:25:55 +0900 Subject: [PATCH] add release workflow --- .github/workflows/release.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..60a5c7d --- /dev/null +++ b/.github/workflows/release.yml @@ -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 }}