From c858d4a7d748b6f37d26004c7d9a493ac9f85419 Mon Sep 17 00:00:00 2001 From: rinsuki <428rinsuki+git@gmail.com> Date: Sun, 2 Feb 2025 17:48:39 +0900 Subject: [PATCH] ci: remove build_stats since archive uploading statts --- .github/workflows/build_stats.yml | 48 ------------------------------- 1 file changed, 48 deletions(-) delete mode 100644 .github/workflows/build_stats.yml diff --git a/.github/workflows/build_stats.yml b/.github/workflows/build_stats.yml deleted file mode 100644 index d6edb81d..00000000 --- a/.github/workflows/build_stats.yml +++ /dev/null @@ -1,48 +0,0 @@ -name: App Size Stats - -on: [push] - -jobs: - build: - strategy: - matrix: - xcode: - - "16.2" - machine: - - "macOS-15" - runs-on: ${{ matrix.machine }} - steps: - - uses: actions/checkout@v1 - - name: Select Xcode - run: sudo xcode-select --switch /Applications/Xcode_${{ matrix.xcode }}.app - - name: bundle install - run: bundle update --bundler && bundle install - - name: Install CocoaPods dependencies - run: bundle exec pod install - - run: git config --global core.quotepath false # for Ikemen on SwiftPM - - name: Build (iOS) - run: | - set -o pipefail - xcodebuild \ - -workspace iMast.xcworkspace -scheme "iMast iOS" -destination "generic/platform=iOS" -configuration Release \ - build -derivedDataPath ./build \ - CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY="" AD_HOC_CODE_SIGNING_ALLOWED=YES | tee ./xcodebuild.log | xcpretty -c - - uses: actions/upload-artifact@v4 - if: always() - with: - name: xcodebuild.Xcode.${{ matrix.xcode }}.${{ matrix.machine }}.log - path: ./xcodebuild.log - - name: Export Stats - run: python3 .github/export_build_stats.py ./build Release iphoneos | tee stats.json - - name: Upload Stats - run: | - curl -fvX POST --data-binary "@stats.json" -H "Content-Type: application/json" \ - -H "X-Space-App-Key: ${{ secrets.BINSTATSD_API_KEY }}" \ - -H "X-IBS-Branch: ${{ github.ref_name }}" \ - -H "X-IBS-Commit: $(git rev-parse HEAD)" \ - -H "X-IBS-Parent: $(git rev-parse HEAD^)" \ - -H "X-IBS-Repo: ${{ github.repository }}" \ - -H "X-IBS-RunID: ${{ github.run_id }}" \ - -H "X-IBS-Platform: iOS" \ - -H "User-Agent: iMast_BuildStatsUploader/1.0" \ - https://${{ secrets.BINSTATSD_HOST }}/api/v1/register