+8
.github/workflows/publish.yaml
+8
.github/workflows/publish.yaml
···
55
55
# If you don't have `beforeBuildCommand` configured you may want to build your frontend here too.
56
56
run: bun install # change this to npm or pnpm depending on which one you use.
57
57
58
+
- name: Decode keys
59
+
run: echo "$KEY" | base64 --decode > updater.key
60
+
env:
61
+
KEY: ${{ secrets.KEY }}
62
+
63
+
- name: Set env
64
+
run: echo "TAURI_SIGNING_PRIVATE_KEY=./updater.key" >> "$GITHUB_ENV"
65
+
58
66
- uses: tauri-apps/tauri-action@v0
59
67
env:
60
68
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}