File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Publish armv7l
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+ workflow_dispatch :
8+
9+ jobs :
10+ publish :
11+ # To enable auto publishing to github, update your electron publisher
12+ # config in package.json > "build" and remove the conditional below
13+ # if: ${{ github.repository_owner == 'electron-react-boilerplate' }}
14+
15+ runs-on : ${{ matrix.os }}
16+
17+ strategy :
18+ matrix :
19+ os : [ubuntu-latest]
20+
21+ steps :
22+ - name : Checkout git repo
23+ uses : actions/checkout@v3
24+
25+ - name : Install Node and NPM
26+ uses : actions/setup-node@v3
27+ with :
28+ node-version : 18
29+ cache : npm
30+
31+ - name : Setup Python
32+ uses : actions/setup-python@v2
33+ with :
34+ python-version : ' 3.10'
35+
36+ - name : Install and build
37+ run : |
38+ npm install
39+ npm run postinstall
40+ npm run build
41+
42+ - name : Publish releases
43+ env :
44+ # This is used for uploading release assets to github
45+ GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
46+ run : |
47+ npm exec electron-builder -- --publish always --armv7l
You can’t perform that action at this time.
0 commit comments