mirror of
https://github.com/t8y2/dbx.git
synced 2026-10-21 06:00:39 +00:00
fix: read signing key from file into GITHUB_ENV to preserve newlines
This commit is contained in:
@@ -86,6 +86,7 @@ jobs:
|
||||
run: |
|
||||
mkdir -p ~/.tauri
|
||||
echo "${{ secrets.TAURI_SIGNING_PRIVATE_KEY_BASE64 }}" | base64 --decode > ~/.tauri/dbx.key
|
||||
echo "TAURI_SIGNING_PRIVATE_KEY=$(cat ~/.tauri/dbx.key)" >> "$GITHUB_ENV"
|
||||
|
||||
- name: Build Tauri app
|
||||
uses: tauri-apps/tauri-action@v0
|
||||
@@ -95,7 +96,6 @@ jobs:
|
||||
APPLE_ID: ${{ startsWith(matrix.platform, 'macos') && secrets.APPLE_ID || '' }}
|
||||
APPLE_PASSWORD: ${{ startsWith(matrix.platform, 'macos') && secrets.APPLE_PASSWORD || '' }}
|
||||
APPLE_TEAM_ID: ${{ startsWith(matrix.platform, 'macos') && secrets.APPLE_TEAM_ID || '' }}
|
||||
TAURI_SIGNING_PRIVATE_KEY: ~/.tauri/dbx.key
|
||||
TAURI_SIGNING_PRIVATE_KEY_PASSWORD: ""
|
||||
with:
|
||||
tagName: ${{ github.ref_name }}
|
||||
|
||||
Reference in New Issue
Block a user