Skip to content

Commit 3bfb630

Browse files
committed
fix: update release workflow for macOS to include DMG bundles and improve artifact uploads
1 parent d5369dd commit 3bfb630

File tree

2 files changed

+30
-8
lines changed

2 files changed

+30
-8
lines changed

.github/workflows/release.yml

Lines changed: 29 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ jobs:
1919
matrix:
2020
include:
2121
- platform: 'macos-latest'
22-
args: '--target aarch64-apple-darwin'
22+
args: '--target aarch64-apple-darwin --bundles dmg'
2323
- platform: 'macos-latest'
24-
args: '--target x86_64-apple-darwin'
24+
args: '--target x86_64-apple-darwin --bundles dmg'
2525

2626
runs-on: ${{ matrix.platform }}
2727
steps:
@@ -51,8 +51,8 @@ jobs:
5151
uses: tauri-apps/tauri-action@v0
5252
env:
5353
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
54-
TAURI_SIGNING_PRIVATE_KEY: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY }}
55-
TAURI_SIGNING_PRIVATE_KEY_PASSWORD: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY_PASSWORD }}
54+
# TAURI_SIGNING_PRIVATE_KEY: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY }}
55+
# TAURI_SIGNING_PRIVATE_KEY_PASSWORD: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY_PASSWORD }}
5656
with:
5757
tagName: app-v__VERSION__ # the action automatically replaces __VERSION__ with the app version.
5858
releaseName: 'Presto v__VERSION__'
@@ -74,9 +74,31 @@ jobs:
7474
**Full Changelog**: https://github.com/${{ github.repository }}/compare/v${{ github.event.before }}...${{ github.ref_name }}
7575
releaseDraft: false
7676
prerelease: false
77-
includeUpdaterJson: true
78-
updaterJsonPreferNsis: false
7977
args: ${{ matrix.args }}
8078

8179
- name: List generated files
82-
run: ls -R src-tauri/target/ || true
80+
run: ls -R src-tauri/target/ || true
81+
82+
- name: Upload DMG (debug)
83+
uses: actions/upload-artifact@v4
84+
with:
85+
name: Presto-DMG
86+
path: src-tauri/target/**/bundle/**/*.dmg
87+
88+
- name: Upload app bundle (debug)
89+
uses: actions/upload-artifact@v4
90+
with:
91+
name: Presto-app-bundle
92+
path: src-tauri/target/**/bundle/**/*.app
93+
94+
- name: Upload tar.gz (debug)
95+
uses: actions/upload-artifact@v4
96+
with:
97+
name: Presto-tarball
98+
path: src-tauri/target/**/bundle/**/*.tar.gz
99+
100+
- name: Upload signatures (debug)
101+
uses: actions/upload-artifact@v4
102+
with:
103+
name: Presto-signatures
104+
path: src-tauri/target/**/bundle/**/*.sig

src/utils/theme-loader.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ class ThemeLoader {
3939
// that gets updated by the build process or manually maintained
4040

4141
// This could be enhanced to use a build-time script that generates this list
42-
const knownThemes = [
42+
const knownThemes = [
4343
'espresso.css',
4444
'matrix.css',
4545
'pommodore64.css'

0 commit comments

Comments
 (0)