Skip to content
This repository was archived by the owner on May 4, 2023. It is now read-only.

Commit b651d04

Browse files
committed
add version, remove useless steps
1 parent cca7260 commit b651d04

File tree

3 files changed

+23
-56
lines changed

3 files changed

+23
-56
lines changed

.github/workflows/build.yml

Lines changed: 0 additions & 36 deletions
This file was deleted.

.github/workflows/release.yml

Lines changed: 18 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,22 @@ jobs:
2727
npm install
2828
npm run postinstall
2929
npm run build
30+
npm run test
31+
- name: Build/release Electron app
32+
uses: samuelmeuli/action-electron-builder@v1
33+
with:
34+
# GitHub token, automatically provided to the action
35+
# (No need to define this secret in the repo settings)
36+
github_token: ${{ secrets.github_token }}
3037

31-
- name: Publish releases
32-
env:
33-
# These values are used for auto updates signing
34-
APPLE_ID: ${{ secrets.APPLE_ID }}
35-
APPLE_ID_PASS: ${{ secrets.APPLE_ID_PASS }}
36-
CSC_LINK: ${{ secrets.CSC_LINK }}
37-
CSC_KEY_PASSWORD: ${{ secrets.CSC_KEY_PASSWORD }}
38-
# This is used for uploading release assets to github
39-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
40-
run: |
41-
npm exec electron-builder -- --publish always --win --mac --linux
38+
# - name: Publish releases
39+
# env:
40+
# # These values are used for auto updates signing
41+
# APPLE_ID: ${{ secrets.APPLE_ID }}
42+
# APPLE_ID_PASS: ${{ secrets.APPLE_ID_PASS }}
43+
# CSC_LINK: ${{ secrets.CSC_LINK }}
44+
# CSC_KEY_PASSWORD: ${{ secrets.CSC_KEY_PASSWORD }}
45+
# # This is used for uploading release assets to github
46+
# GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
47+
# run: |
48+
# npm exec electron-builder -- --publish always --win --mac --linux

package.json

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,12 @@
11
{
22
"description": "Codiga Electron App",
33
"keywords": [
4-
"electron",
5-
"boilerplate",
6-
"react",
7-
"typescript",
8-
"ts",
9-
"sass",
10-
"webpack",
11-
"hot",
12-
"reload"
4+
"code-snippets",
5+
"code-snippets",
6+
"coding-assistant",
7+
"codiga"
138
],
9+
"version": "0.0.1",
1410
"homepage": "https://www.codiga.io/",
1511
"bugs": {
1612
"url": "https://github.com/codiga/electron-app/issues"

0 commit comments

Comments
 (0)