From 855ed4deba09fad6a668a147b06df5e9c44babb7 Mon Sep 17 00:00:00 2001 From: yicheng <11733500+yichengchen@users.noreply.github.com> Date: Mon, 10 Feb 2020 20:55:25 +0800 Subject: [PATCH] Chore(ci): lock fastlane version --- .github/workflows/main.yml | 13 ++++---- Gemfile | 2 +- Gemfile.lock | 62 ++++++++++++++++++++------------------ 3 files changed, 39 insertions(+), 38 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 37d529e..992a5a5 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -20,7 +20,6 @@ jobs: security import "./.github/certs/dist.p12" -k build.keychain -T /usr/bin/codesign -P "" bash .github/enableKeyChain.sh gem install bundler:1.16.2 - gem install gym bundle install - name: setup Go @@ -31,8 +30,8 @@ jobs: - name: update beta build version if: contains(github.event.head_commit.message, '[beta]') && !startsWith(github.ref, 'refs/tags/') run: | - fastlane beta - fastlane run set_info_plist_value path:ClashX/Info.plist key:BETA value:YES + bundle exec fastlane beta + bundle exec fastlane run set_info_plist_value path:ClashX/Info.plist key:BETA value:YES - name: build run: | @@ -40,7 +39,7 @@ jobs: cd ClashX python3 build_clash.py cd .. - fastlane gym -s ClashX + bundle exec fastlane gym -s ClashX echo "Checking SMJobBless Vailded" python SMJobBlessUtil.py check ClashX.app echo "Check done" @@ -64,7 +63,7 @@ jobs: FASTLANE_PASSWORD: ${{ secrets.FASTLANE_PASSWORD }} FASTLANE_USER: ${{ secrets.FASTLANE_USER }} run: | - fastlane run notarize package:"./ClashX.dmg" bundle_id:"com.west2online.ClashX" + bundle exec fastlane run notarize package:"./ClashX.dmg" bundle_id:"com.west2online.ClashX" - name: upload to appcenter if: startsWith(github.ref, 'refs/tags/') || contains(github.event.head_commit.message, '[appcenter]') @@ -80,7 +79,7 @@ jobs: buildVersion=`defaults read \`pwd\`/ClashX.app/Contents/Info.plist CFBundleVersion` branch=${GITHUB_REF##*/} version=$appversion.$branch - fastlane run appcenter_upload version:${version} build_number:${buildVersion} + bundle exec fastlane run appcenter_upload version:${version} build_number:${buildVersion} - name: upload build to github uses: softprops/action-gh-release@v1 @@ -100,5 +99,5 @@ jobs: - name: upload crashlytics symbols if: startsWith(github.ref, 'refs/tags/') || contains(github.event.head_commit.message, '[appcenter]') - run: fastlane run upload_symbols_to_crashlytics + run: bundle exec fastlane run upload_symbols_to_crashlytics diff --git a/Gemfile b/Gemfile index b734015..f135c94 100644 --- a/Gemfile +++ b/Gemfile @@ -4,7 +4,7 @@ source "https://rubygems.org" -gem 'fastlane' +gem 'fastlane',"2.137.0" plugins_path = File.join(File.dirname(__FILE__), 'fastlane', 'Pluginfile') eval_gemfile(plugins_path) if File.exist?(plugins_path) diff --git a/Gemfile.lock b/Gemfile.lock index 4df3b4f..dfc5f5b 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,12 +1,12 @@ GEM remote: https://rubygems.org/ specs: - CFPropertyList (3.0.0) - addressable (2.6.0) - public_suffix (>= 2.0.2, < 4.0) + CFPropertyList (3.0.2) + addressable (2.7.0) + public_suffix (>= 2.0.2, < 5.0) atomos (0.1.3) - babosa (1.0.2) - claide (1.0.2) + babosa (1.0.3) + claide (1.0.3) colored (1.2) colored2 (3.1.2) commander-fastlane (4.4.6) @@ -16,18 +16,18 @@ GEM digest-crc (0.4.1) domain_name (0.5.20190701) unf (>= 0.0.5, < 1.0.0) - dotenv (2.7.4) + dotenv (2.7.5) emoji_regex (1.0.1) - excon (0.65.0) - faraday (0.15.4) + excon (0.72.0) + faraday (0.17.3) multipart-post (>= 1.2, < 3) faraday-cookie_jar (0.0.6) faraday (>= 0.7.4) http-cookie (~> 1.0.0) faraday_middleware (0.13.1) faraday (>= 0.7.4, < 1.0) - fastimage (2.1.5) - fastlane (2.128.1) + fastimage (2.1.7) + fastlane (2.137.0) CFPropertyList (>= 2.3, < 4.0.0) addressable (>= 2.3, < 3.0.0) babosa (>= 1.0.2, < 2.0.0) @@ -37,9 +37,9 @@ GEM dotenv (>= 2.1.1, < 3.0.0) emoji_regex (>= 0.1, < 2.0) excon (>= 0.45.0, < 1.0.0) - faraday (~> 0.9) + faraday (~> 0.17) faraday-cookie_jar (~> 0.0.6) - faraday_middleware (~> 0.9) + faraday_middleware (~> 0.13.1) fastimage (>= 2.1.0, < 3.0.0) gh_inspector (>= 1.1.2, < 2.0.0) google-api-client (>= 0.21.2, < 0.24.0) @@ -52,7 +52,7 @@ GEM multipart-post (~> 2.0.0) plist (>= 3.1.0, < 4.0.0) public_suffix (~> 2.0.0) - rubyzip (>= 1.2.2, < 2.0.0) + rubyzip (>= 1.3.0, < 2.0.0) security (= 0.1.3) simctl (~> 1.6.3) slack-notifier (>= 2.0.0, < 3.0.0) @@ -76,10 +76,12 @@ GEM representable (~> 3.0) retriable (>= 2.0, < 4.0) signet (~> 0.9) - google-cloud-core (1.3.0) + google-cloud-core (1.5.0) google-cloud-env (~> 1.0) - google-cloud-env (1.2.0) + google-cloud-errors (~> 1.0) + google-cloud-env (1.3.0) faraday (~> 0.11) + google-cloud-errors (1.0.0) google-cloud-storage (1.16.0) digest-crc (~> 0.4) google-api-client (~> 0.23) @@ -96,14 +98,14 @@ GEM http-cookie (1.0.3) domain_name (~> 0.5) httpclient (2.8.3) - json (2.2.0) + json (2.3.0) jwt (2.1.0) - memoist (0.16.0) - mime-types (3.2.2) + memoist (0.16.2) + mime-types (3.3.1) mime-types-data (~> 3.2015) - mime-types-data (3.2019.0331) - mini_magick (4.9.5) - multi_json (1.13.1) + mime-types-data (3.2019.1009) + mini_magick (4.10.1) + multi_json (1.14.1) multi_xml (0.6.0) multipart-post (2.0.0) nanaimo (0.2.6) @@ -117,31 +119,31 @@ GEM uber (< 0.2.0) retriable (3.1.2) rouge (2.0.7) - rubyzip (1.2.3) + rubyzip (1.3.0) security (0.1.3) - signet (0.11.0) + signet (0.12.0) addressable (~> 2.3) faraday (~> 0.9) jwt (>= 1.5, < 3.0) multi_json (~> 1.10) - simctl (1.6.5) + simctl (1.6.8) CFPropertyList naturally slack-notifier (2.3.2) terminal-notifier (2.0.0) terminal-table (1.8.0) unicode-display_width (~> 1.1, >= 1.1.1) - tty-cursor (0.7.0) - tty-screen (0.7.0) - tty-spinner (0.9.1) + tty-cursor (0.7.1) + tty-screen (0.7.1) + tty-spinner (0.9.3) tty-cursor (~> 0.7) uber (0.1.0) unf (0.1.4) unf_ext unf_ext (0.0.7.6) - unicode-display_width (1.6.0) + unicode-display_width (1.6.1) word_wrap (1.0.0) - xcodeproj (1.11.0) + xcodeproj (1.15.0) CFPropertyList (>= 2.3.3, < 4.0) atomos (~> 0.1.3) claide (>= 1.0.2, < 2.0) @@ -156,7 +158,7 @@ PLATFORMS ruby DEPENDENCIES - fastlane + fastlane (= 2.137.0) fastlane-plugin-appcenter fastlane-plugin-notarize fastlane-plugin-versioning