File tree Expand file tree Collapse file tree 1 file changed +33
-0
lines changed Expand file tree Collapse file tree 1 file changed +33
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Publish
2+ on :
3+ release :
4+ types : [published]
5+ jobs :
6+ publish :
7+ name : Publish
8+ runs-on : macOS-11.0
9+ steps :
10+ - name : Checkout
11+ uses : actions/checkout@v2
12+ with :
13+ ref : ${{ github.ref }}
14+
15+ - name : Validation
16+ run : true && [ "${GITHUB_REF##*/}" = "$(cat .version)" ]
17+
18+ - name : Get ruby gem cache
19+ id : gem-cache
20+ uses : actions/cache@v2
21+ with :
22+ path : vendor/bundle
23+ key : ${{ runner.os }}-1-gem-${{ hashFiles('Gemfile.lock') }}
24+ restore-keys : ${{ runner.os }}-1-gem-
25+
26+ - name : Install ruby gems
27+ if : steps.gem-cache.cache.outputs.cache-hit != 'true'
28+ run : make gem
29+
30+ - name : CocoaPods trunk push
31+ run : make pod-release
32+ env :
33+ COCOAPODS_TRUNK_TOKEN : ${{ secrets.COCOAPODS_TRUNK_TOKEN }}
You can’t perform that action at this time.
0 commit comments