Skip to content

Commit ab63d0a

Browse files
authored
Merge pull request #20 from kiyu-git/feature/edit-action
Feature/edit action
2 parents 71d4d76 + 5f435ff commit ab63d0a

2 files changed

Lines changed: 47 additions & 5 deletions

File tree

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
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

.github/workflows/publish.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,6 @@ jobs:
4141
4242
- name: Publish releases
4343
env:
44-
# These values are used for auto updates signing
45-
APPLE_ID: ${{ secrets.APPLE_ID }}
46-
APPLE_APP_SPECIFIC_PASSWORD: ${{ secrets.APPLE_ID_PASS }}
47-
CSC_LINK: ${{ secrets.CSC_LINK }}
48-
CSC_KEY_PASSWORD: ${{ secrets.CSC_KEY_PASSWORD }}
4944
# This is used for uploading release assets to github
5045
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5146
run: |

0 commit comments

Comments
 (0)