12
12
uses : actions/checkout@v4.1.7
13
13
with :
14
14
submodules : true
15
- - name : Get release
16
- id : get_release
17
- uses : bruceadams/get-release@74c3d60f5a28f358ccf241a00c9021ea16f0569f
18
- env :
19
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
20
15
- name : Setup node
21
16
uses : actions/setup-node@v4.0.3
22
17
with :
@@ -29,14 +24,14 @@ jobs:
29
24
- name : Install tauri dependencies
30
25
run : npm ci
31
26
- name : Build desktop app with Tauri
32
- uses : tauri-apps/tauri-action@v0.5.9
27
+ uses : tauri-apps/tauri-action@v0.5.13
33
28
env :
34
29
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
35
30
TAURI_PRIVATE_KEY : ${{ secrets.TAURI_PRIVATE_KEY }}
36
31
TAURI_KEY_PASSWORD : ${{ secrets.TAURI_KEY_PASSWORD }}
37
32
NODE_OPTIONS : " --max_old_space_size=4096"
38
33
with :
39
- releaseId : ${{ steps.get_release.outputs .upload_url }}
34
+ releaseId : ${{ github.event.release .upload_url }}
40
35
- name : Get app version (windows)
41
36
run : |
42
37
$json = (Get-Content "src-tauri\tauri.conf.json" -Raw) | ConvertFrom-Json
55
50
run : Move-Item "src-tauri\target\release\bundle\msi\Cinny_${{ env.TAURI_VERSION }}_x64_en-US.msi.zip.sig" "src-tauri\target\release\bundle\msi\Cinny_desktop-x86_64.msi.zip.sig"
56
51
shell : pwsh
57
52
- name : Upload tagged release
58
- uses : softprops/action-gh-release@a74c6b72af54cfa997e81df42d94703d6313a2d0
53
+ uses : softprops/action-gh-release@c062e08bd532815e2082a85e87e3ef29c3e6d191
59
54
with :
60
55
files : |
61
56
src-tauri/target/release/bundle/msi/Cinny_desktop-x86_64.msi
71
66
uses : actions/checkout@v4.1.7
72
67
with :
73
68
submodules : true
74
- - name : Get release
75
- id : get_release
76
- uses : bruceadams/get-release@74c3d60f5a28f358ccf241a00c9021ea16f0569f
77
- env :
78
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
79
69
- name : Setup node
80
70
uses : actions/setup-node@v4.0.3
81
71
with :
@@ -92,17 +82,17 @@ jobs:
92
82
- name : Install tauri dependencies
93
83
run : npm ci
94
84
- name : Build desktop app with Tauri
95
- uses : tauri-apps/tauri-action@v0.5.9
85
+ uses : tauri-apps/tauri-action@v0.5.13
96
86
env :
97
87
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
98
88
TAURI_PRIVATE_KEY : ${{ secrets.TAURI_PRIVATE_KEY }}
99
89
TAURI_KEY_PASSWORD : ${{ secrets.TAURI_KEY_PASSWORD }}
100
90
NODE_OPTIONS : " --max_old_space_size=4096"
101
91
with :
102
- releaseId : ${{ steps.get_release.outputs .upload_url }}
92
+ releaseId : ${{ github.event.release .upload_url }}
103
93
- name : Get app version
104
94
id : vars
105
- run : echo ::set-output name= tag:: $(jq .package.version src-tauri/tauri.conf.json | tr -d '"')
95
+ run : echo " tag= $(jq .package.version src-tauri/tauri.conf.json | tr -d '"')" >> $GITHUB_OUTPUT
106
96
- name : Move deb
107
97
run : mv "src-tauri/target/release/bundle/deb/cinny_${{ steps.vars.outputs.tag }}_amd64.deb" "src-tauri/target/release/bundle/deb/Cinny_desktop-x86_64.deb"
108
98
- name : Move AppImage
@@ -112,7 +102,7 @@ jobs:
112
102
- name : Move AppImage.tar.gz.sig
113
103
run : mv "src-tauri/target/release/bundle/appimage/cinny_${{ steps.vars.outputs.tag }}_amd64.AppImage.tar.gz.sig" "src-tauri/target/release/bundle/appimage/Cinny_desktop-x86_64.AppImage.tar.gz.sig"
114
104
- name : Upload tagged release
115
- uses : softprops/action-gh-release@a74c6b72af54cfa997e81df42d94703d6313a2d0
105
+ uses : softprops/action-gh-release@c062e08bd532815e2082a85e87e3ef29c3e6d191
116
106
with :
117
107
files : |
118
108
src-tauri/target/release/bundle/deb/Cinny_desktop-x86_64.deb
@@ -128,11 +118,6 @@ jobs:
128
118
uses : actions/checkout@v4.1.7
129
119
with :
130
120
submodules : true
131
- - name : Get release
132
- id : get_release
133
- uses : bruceadams/get-release@74c3d60f5a28f358ccf241a00c9021ea16f0569f
134
- env :
135
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
136
121
- name : Setup node
137
122
uses : actions/setup-node@v4.0.3
138
123
with :
@@ -147,26 +132,26 @@ jobs:
147
132
- name : Install tauri dependencies
148
133
run : npm ci
149
134
- name : Build desktop app with Tauri
150
- uses : tauri-apps/tauri-action@v0.5.9
135
+ uses : tauri-apps/tauri-action@v0.5.13
151
136
env :
152
137
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
153
138
TAURI_PRIVATE_KEY : ${{ secrets.TAURI_PRIVATE_KEY }}
154
139
TAURI_KEY_PASSWORD : ${{ secrets.TAURI_KEY_PASSWORD }}
155
140
NODE_OPTIONS : " --max_old_space_size=4096"
156
141
with :
157
- releaseId : ${{ steps.get_release.outputs .upload_url }}
142
+ releaseId : ${{ github.event.release .upload_url }}
158
143
args : " --target universal-apple-darwin"
159
144
- name : Get app version
160
145
id : vars
161
- run : echo ::set-output name= tag:: $(jq .package.version src-tauri/tauri.conf.json | tr -d '"')
146
+ run : echo " tag= $(jq .package.version src-tauri/tauri.conf.json | tr -d '"')" >> $GITHUB_OUTPUT
162
147
- name : Move dmg
163
148
run : mv "src-tauri/target/universal-apple-darwin/release/bundle/dmg/Cinny_${{ steps.vars.outputs.tag }}_universal.dmg" "src-tauri/target/universal-apple-darwin/release/bundle/dmg/Cinny_desktop-universal.dmg"
164
149
- name : Move app.tar.gz
165
150
run : mv "src-tauri/target/universal-apple-darwin/release/bundle/macos/Cinny.app.tar.gz" "src-tauri/target/universal-apple-darwin/release/bundle/macos/Cinny_desktop-universal.app.tar.gz"
166
151
- name : Move app.tar.gz.sig
167
152
run : mv "src-tauri/target/universal-apple-darwin/release/bundle/macos/Cinny.app.tar.gz.sig" "src-tauri/target/universal-apple-darwin/release/bundle/macos/Cinny_desktop-universal.app.tar.gz.sig"
168
153
- name : Upload tagged release
169
- uses : softprops/action-gh-release@a74c6b72af54cfa997e81df42d94703d6313a2d0
154
+ uses : softprops/action-gh-release@c062e08bd532815e2082a85e87e3ef29c3e6d191
170
155
with :
171
156
files : |
172
157
src-tauri/target/universal-apple-darwin/release/bundle/dmg/Cinny_desktop-universal.dmg
@@ -186,4 +171,4 @@ jobs:
186
171
- name : Run release.json
187
172
run : npm run release
188
173
env :
189
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
174
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
0 commit comments