Skip to content

Commit 2afa6f5

Browse files
committed
fix: update key directory location in build-and-release workflow
- Changed the temporary directory for the NetSparkle private key from ~/.netsparkle to ~/.local/share/netsparkle to align with NetSparkle's default location. - This adjustment improves consistency and adheres to standard directory structures for application data.
1 parent 86007ff commit 2afa6f5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/build-and-release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -393,10 +393,10 @@ jobs:
393393
run: |
394394
echo "🔐 Generating signatures for release files..."
395395
396-
# Create temp directory for key
397-
mkdir -p ~/.netsparkle
398-
echo "$NETSPARKLE_PRIVATE_KEY" > ~/.netsparkle/NetSparkle_Ed25519.priv
399-
chmod 600 ~/.netsparkle/NetSparkle_Ed25519.priv
396+
# Create directory for key (using NetSparkle's default location)
397+
mkdir -p ~/.local/share/netsparkle
398+
echo "$NETSPARKLE_PRIVATE_KEY" > ~/.local/share/netsparkle/NetSparkle_Ed25519.priv
399+
chmod 600 ~/.local/share/netsparkle/NetSparkle_Ed25519.priv
400400
401401
# Create signatures directory
402402
mkdir -p signatures

0 commit comments

Comments
 (0)