+11
-18
.github/workflows/publish.yaml
+11
-18
.github/workflows/publish.yaml
···
51
with:
52
workspaces: "./src-tauri -> target"
53
54
- name: install frontend dependencies
55
# If you don't have `beforeBuildCommand` configured you may want to build your frontend here too.
56
run: bun install # change this to npm or pnpm depending on which one you use.
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
-
66
- uses: tauri-apps/tauri-action@v0
67
env:
68
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
···
73
releaseDraft: true
74
prerelease: false
75
args: ${{ matrix.args }}
76
-
- name: Cache dependencies
77
-
uses: actions/cache@v4
78
-
with:
79
-
path: |
80
-
~/.bun/install/cache
81
-
node_modules
82
-
.eslintcache
83
-
key: ${{ runner.os }}-bun-${{ hashFiles('**/bun.lockb') }}
84
-
restore-keys: |
85
-
${{ runner.os }}-bun-
···
51
with:
52
workspaces: "./src-tauri -> target"
53
54
+
- name: Cache dependencies
55
+
uses: actions/cache@v4
56
+
with:
57
+
path: |
58
+
~/.bun/install/cache
59
+
node_modules
60
+
.eslintcache
61
+
key: ${{ runner.os }}-bun-${{ hashFiles('**/bun.lockb') }}
62
+
restore-keys: |
63
+
${{ runner.os }}-bun-
64
+
65
- name: install frontend dependencies
66
# If you don't have `beforeBuildCommand` configured you may want to build your frontend here too.
67
run: bun install # change this to npm or pnpm depending on which one you use.
68
69
- uses: tauri-apps/tauri-action@v0
70
env:
71
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
···
76
releaseDraft: true
77
prerelease: false
78
args: ${{ matrix.args }}