Skip to content

Commit 7d0f371

Browse files
committed
chore: update package.json with new version and description, update dependencies
1 parent 8600a8c commit 7d0f371

File tree

3 files changed

+1966
-8873
lines changed

3 files changed

+1966
-8873
lines changed

.github/workflows/publish.yml

Lines changed: 8 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,14 @@ jobs:
1616

1717
strategy:
1818
matrix:
19-
os: [macos-latest, windows-latest]
19+
os: [windows-latest, ubuntu-latest]
2020

2121
steps:
2222
- name: Check out Git repository
23-
uses: actions/checkout@v3
23+
uses: actions/checkout@v4
2424

2525
- name: Install Node.js
26-
uses: actions/setup-node@v3
26+
uses: actions/setup-node@v4
2727
with:
2828
node-version: 18 # Or your preferred Node version
2929

@@ -36,7 +36,6 @@ jobs:
3636
# This installs @electron/notarize from package.json
3737
run: pnpm install --no-frozen-lockfile
3838

39-
# Windows-specific publish step
4039
- name: Build and Publish (Windows)
4140
if: matrix.os == 'windows-latest'
4241
uses: nick-fields/retry@v2
@@ -48,42 +47,13 @@ jobs:
4847
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4948
DEBUG: electron-builder # Optional: for detailed logs
5049

51-
# macOS-specific publish step (Build and Sign)
52-
- name: Build and Publish (macOS)
53-
if: matrix.os == 'macos-latest'
50+
- name: Build and Publish (Linux)
51+
if: matrix.os == 'ubuntu-latest'
5452
uses: nick-fields/retry@v2
5553
with:
56-
timeout_minutes: 45 # Keep extended timeout for signing
54+
timeout_minutes: 45
5755
max_attempts: 3
58-
# Assumes 'pnpm run build:mac' uses your electron-builder.yml
59-
command: pnpm run build:mac -- --publish always
56+
command: pnpm run build:linux -- --publish always
6057
env:
6158
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
62-
APPLE_ID: ${{ secrets.APPLE_ID }}
63-
APPLE_APP_SPECIFIC_PASSWORD: ${{ secrets.APPLE_APP_PASSWORD }}
64-
APPLE_TEAM_ID: ${{ secrets.APPLE_TEAM_ID }}
65-
CSC_LINK: ${{ secrets.MAC_CERTIFICATE }}
66-
CSC_KEY_PASSWORD: ${{ secrets.MAC_CERTIFICATE_PASSWORD }}
67-
CSC_IDENTITY_AUTO_DISCOVERY: true # Use auto-discovery
68-
CSC_TIMEOUT: 1800000 # Keep increased timeout (30 minutes)
69-
# Add more specific debug logs for signing
70-
DEBUG: 'electron-builder*,electron-osx-sign*'
71-
72-
# Separate Notarization Step for macOS
73-
- name: Notarize macOS App
74-
if: matrix.os == 'macos-latest'
75-
# Add retry here as well, notarization can sometimes fail temporarily
76-
uses: nick-fields/retry@v2
77-
with:
78-
timeout_minutes: 30 # Generous timeout for notarization
79-
max_attempts: 3
80-
# Execute the dedicated notarization script
81-
command: node notarize.js
82-
env:
83-
# Pass necessary values to the script via environment variables
84-
APP_BUNDLE_ID: com.xeven777.cluelessly
85-
APP_PATH: dist/mac-arm64/cluelessly.app
86-
APPLE_ID: ${{ secrets.APPLE_ID }}
87-
APPLE_APP_SPECIFIC_PASSWORD: ${{ secrets.APPLE_APP_PASSWORD }} # Ensure this uses the correct secret name
88-
APPLE_TEAM_ID: ${{ secrets.APPLE_TEAM_ID }}
89-
# shell: bash # Not needed when using node -e
59+
DEBUG: electron-builder # Optional: for detailed logs

0 commit comments

Comments
 (0)