File tree Expand file tree Collapse file tree 2 files changed +47
-0
lines changed
Expand file tree Collapse file tree 2 files changed +47
-0
lines changed Original file line number Diff line number Diff line change 3434 sudo gem install bundler
3535 bundle config set path 'vendor/bundle'
3636 bundle install
37+ carthage bootstrap --use-xcframeworks
3738 - run : npm ci
3839 - run : npx semantic-release
3940 env :
Original file line number Diff line number Diff line change 1+ name : release-manual-assets
2+ on :
3+ workflow_dispatch :
4+ inputs :
5+ tag :
6+ default : ' '
7+ description : ' Version tag:'
8+ env :
9+ CI_XCODE_11 : ' /Applications/Xcode_11.7.app/Contents/Developer'
10+
11+ jobs :
12+ assets :
13+ if : github.event.inputs.tag != ''
14+ runs-on : macos-11
15+ steps :
16+ - name : Checkout repository
17+ uses : actions/checkout@v2
18+ with :
19+ ref : ${{ github.event.inputs.tag }}
20+ - name : Cache Gems
21+ id : cache-gems
22+ uses : actions/cache@v2
23+ with :
24+ path : vendor/bundle
25+ key : ${{ runner.os }}-gem-${{ hashFiles('**/Gemfile.lock') }}
26+ restore-keys : |
27+ ${{ runner.os }}-gem-
28+ - name : Submodules and Bundle Install
29+ run : |
30+ git submodule update --init --recursive
31+ sudo gem install bundler
32+ bundle config set path 'vendor/bundle'
33+ bundle install
34+ carthage bootstrap --use-xcframeworks
35+ - name : Build Release
36+ run : set -o pipefail && env NSUnbufferedIO=YES bundle exec rake package:release
37+ env :
38+ DEVELOPER_DIR : ${{ env.CI_XCODE_11 }}
39+ - name : Deploy assets
40+ uses : svenstaro/upload-release-action@v2
41+ with :
42+ repo_token : ${{ secrets.GITHUB_TOKEN }}
43+ file : build/release/*
44+ tag : ${{ github.event.inputs.tag }}
45+ overwrite : true
46+ file_glob : true
You can’t perform that action at this time.
0 commit comments