File tree Expand file tree Collapse file tree 1 file changed +40
-0
lines changed
Expand file tree Collapse file tree 1 file changed +40
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Release App
2+
3+ on :
4+ push :
5+ branches :
6+ - release
7+
8+ jobs :
9+ release-macos :
10+ runs-on : macos-10.15
11+
12+ steps :
13+ - uses : actions/checkout@v2
14+
15+ - name : Get yarn cache
16+ id : yarn-cache
17+ run : echo "::set-output name=dir::$(yarn cache dir)"
18+
19+ - uses : actions/cache@v1
20+ with :
21+ path : ${{ steps.yarn-cache.outputs.dir }}
22+ key : ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
23+ restore-keys : |
24+ ${{ runner.os }}-yarn-
25+
26+ - name : Install Dependencies
27+ run : yarn install
28+
29+ - name : Build
30+ run : yarn build
31+
32+ - name : Pack (electron-builder)
33+ run : yarn pack
34+
35+ - name : Publish macOS (electron-builder)
36+ env :
37+ CSC_LINK : ${{ secrets.mac_certs }}
38+ CSC_KEY_PASSWORD : ${{ secrets.mac_certs_password }}
39+ GH_TOKEN : ${{ secrets.gh_token }}
40+ run : yarn electron-builder --publish onTagOrDraft
You can’t perform that action at this time.
0 commit comments