Skip to content

Commit da483d3

Browse files
committed
separate workflow for mac, this should theoretically work
1 parent d93913a commit da483d3

File tree

3 files changed

+16
-7
lines changed

3 files changed

+16
-7
lines changed

.github/workflows/release_desktop_app.yml

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,6 @@ jobs:
1717
release:
1818
env:
1919
EP_GH_IGNORE_TIME: true
20-
APPLE_ID: ${{ secrets.apple_id }}
21-
APPLE_ID_PASS: ${{ secrets.apple_id_pass }}
22-
APPLE_APP_SPECIFIC_PASSWORD: ${{ secrets.apple_app_specific_password }}
23-
APPLE_TEAM_ID: ${{ secrets.apple_team_id }}
2420

2521
if: github.ref == 'refs/heads/master'|| github.ref == 'refs/heads/production' || github.ref == 'refs/heads/dev'
2622
runs-on: ${{ github.event.inputs.build_type }}
@@ -53,8 +49,21 @@ jobs:
5349
- name: Install desktop app dependencies
5450
run: bash ./install.sh
5551

52+
- name: Build desktop app
53+
if: ${{ github.event.inputs.build_type == 'macos-latest' }}
54+
env:
55+
GH_TOKEN: ${{ secrets.publish_token }}
56+
APPLE_ID: ${{ secrets.apple_id }}
57+
APPLE_ID_PASS: ${{ secrets.apple_id_pass }}
58+
APPLE_APP_SPECIFIC_PASSWORD: ${{ secrets.apple_app_specific_password }}
59+
APPLE_TEAM_ID: ${{ secrets.apple_team_id }}
60+
CSC_LINK: ${{ secrets.mac_certs }}
61+
CSC_KEY_PASSWORD: ${{ secrets.mac_certs_password }}
62+
run: |
63+
npm run deploy
5664
- name: Build/release Electron app
57-
uses: Yan-Jobs/[email protected]
65+
if: ${{ github.event.inputs.build_type == 'windows-latest' || github.event.inputs.build_type == 'ubuntu-latest' }}
66+
uses: samuelmeuli/[email protected]
5867
with:
5968
# GitHub token, automatically provided to the action
6069
# (No need to define this secret in the repo settings)

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "requestly",
33
"productName": "Requestly",
4-
"version": "1.9.9",
4+
"version": "1.9.10",
55
"main": "src/main/main.ts",
66
"private": true,
77
"description": "Intercept & Modify HTTP Requests",

release/app/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "requestly",
33
"productName": "Requestly",
4-
"version": "1.9.9",
4+
"version": "1.9.10",
55
"private": true,
66
"description": "Intercept & Modify HTTP Requests",
77
"main": "./dist/main/main.js",

0 commit comments

Comments
 (0)