diff --git a/.github/workflows/opensource.yml b/.github/workflows/opensource.yml index 8b3e215c..ed20f33a 100644 --- a/.github/workflows/opensource.yml +++ b/.github/workflows/opensource.yml @@ -27,7 +27,7 @@ jobs: - name: Install GPG run: brew install gnupg - name: install fir - run: gem install fir-cli + run: bundle install #安装根目录 Gemfile 中列出的所有 gem - name: List available Xcode versions run: ls /Applications | grep Xcode - name: Decrypt large secret @@ -49,8 +49,8 @@ jobs: rc=$(git rev-parse --short HEAD) rl=$(git log --pretty=format:"%s" $rc -1) - fir publish LinkApp.ipa -T $RELEASE_PGYER_API_KEY -c "$rl" --oversea_turbo --force_pin_history -V - fir publish LinkSDKDemo.ipa -T $RELEASE_PGYER_API_KEY -c "$rl" --oversea_turbo --force_pin_history -V + bundle exec fir publish LinkApp.ipa -T $RELEASE_PGYER_API_KEY -c "$rl" --oversea_turbo --force_pin_history -V + bundle exec fir publish LinkSDKDemo.ipa -T $RELEASE_PGYER_API_KEY -c "$rl" --oversea_turbo --force_pin_history -V env: RELEASE_PGYER_API_KEY: ${{ secrets.IOT_FIRIM_API_TOKEN }} diff --git a/Gemfile b/Gemfile new file mode 100644 index 00000000..75f544e3 --- /dev/null +++ b/Gemfile @@ -0,0 +1,3 @@ +# coding: utf-8 +source 'https://rubygems.org' +gem 'fir-cli'