Skip to content

Commit bcff22f

Browse files
committed
include stt binary in aarch64
1 parent f528ffe commit bcff22f

File tree

5 files changed

+11
-24
lines changed

5 files changed

+11
-24
lines changed

.github/workflows/desktop_cd.yaml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,14 @@ jobs:
100100
keychain-password: ${{ secrets.KEYCHAIN_PASSWORD }}
101101
- if: ${{ matrix.target == 'aarch64-apple-darwin' }}
102102
run: |
103-
mkdir -p apps/desktop/src-tauri/binaries
104-
echo "placeholder" > apps/desktop/src-tauri/binaries/stt-${{ matrix.target }}
103+
aws s3 cp s3://hyprnote-cache2/v0/binaries/stt apps/desktop/src-tauri/binaries/stt-${{ matrix.target }} \
104+
--endpoint-url ${{ secrets.CLOUDFLARE_R2_ENDPOINT_URL }} \
105+
--region auto
106+
env:
107+
AWS_ACCESS_KEY_ID: ${{ secrets.CLOUDFLARE_R2_ACCESS_KEY_ID }}
108+
AWS_SECRET_ACCESS_KEY: ${{ secrets.CLOUDFLARE_R2_SECRET_ACCESS_KEY }}
109+
- if: ${{ matrix.target == 'aarch64-apple-darwin' }}
110+
run: |
105111
chmod +x apps/desktop/src-tauri/binaries/stt-${{ matrix.target }}
106112
./scripts/sidecar.sh "apps/desktop/${{ env.TAURI_CONF_PATH }}" "binaries/stt"
107113
- run: pnpm -F desktop tauri build --target ${{ matrix.target }} --config ${{ env.TAURI_CONF_PATH }} --verbose

.github/workflows/test.yml

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

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apps/desktop/src-tauri/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "desktop"
3-
version = "0.0.64"
3+
version = "0.0.65"
44
authors = ["you"]
55
edition = "2021"
66
description = "Hyprnote Desktop App"

apps/desktop/src-tauri/tauri.conf.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"$schema": "https://schema.tauri.app/config/2",
3-
"version": "0.0.64",
3+
"version": "0.0.65",
44
"productName": "Hyprnote Dev",
55
"mainBinaryName": "Hyprnote Dev",
66
"identifier": "com.hyprnote.dev",

0 commit comments

Comments
 (0)