Skip to content

Commit d101594

Browse files
committed
fix(ci): release-owner — fetch TAURI_SIGNING_PRIVATE_KEY from Infisical
owner-v0.10.0 build failed: tauri.conf.json now has plugins.updater.pubkey (real auto-update), so tauri-action refuses to bundle without the matching private key. release-owner.yml never fetched it — only release.yml (app) did. Mirrors the /updater Infisical step + env var already used there.
1 parent bc310e4 commit d101594

1 file changed

Lines changed: 13 additions & 2 deletions

File tree

.github/workflows/release-owner.yml

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
22
#
33
# Реліз owner-застосунку (воркспейс owner/) — аналог release.yml для app.
4-
# Тег owner-vX.Y.Z → GitHub-реліз "owner owner-vX.Y.Z" + підписаний DMG.
5-
# Без updater-артефактів: owner не має tauri-plugin-updater (MVP M0).
4+
# Тег owner-vX.Y.Z → GitHub-реліз "owner owner-vX.Y.Z" + підписаний DMG +
5+
# updater-артефакти (owner має tauri-plugin-updater, useUpdater()).
66

77
name: Release Owner
88

@@ -73,6 +73,16 @@ jobs:
7373
env-slug: 'main'
7474
secret-path: '/apple'
7575

76+
- name: Fetch updater signing key from Infisical
77+
uses: Infisical/secrets-action@77ab1f4ccd183a543cb5b42435fbd181189f4995 # v1.0.16
78+
with:
79+
method: 'oidc'
80+
domain: 'https://secret.7n.ai'
81+
project-slug: 'vitaliytv-kfse'
82+
identity-id: '53691c96-17d9-4389-b078-0f77073809ab'
83+
env-slug: 'main'
84+
secret-path: '/updater'
85+
7686
- uses: ./.github/actions/setup-bun-deps
7787

7888
- uses: dtolnay/rust-toolchain@4be7066ada62dd38de10e7b70166bc74ed198c30 # stable
@@ -99,6 +109,7 @@ jobs:
99109
APPLE_ID: ${{ env.APPLE_ID }}
100110
APPLE_PASSWORD: ${{ env.APPLE_PASSWORD }}
101111
APPLE_TEAM_ID: ${{ env.APPLE_TEAM_ID }}
112+
TAURI_SIGNING_PRIVATE_KEY: ${{ env.TAURI_SIGNING_PRIVATE_KEY }}
102113
with:
103114
projectPath: owner
104115
releaseId: ${{ needs.create-release.outputs.release_id }}

0 commit comments

Comments
 (0)