2020 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
2121 with :
2222 tag_name : ${{ github.ref }}
23- name : ${{ github.ref }}
23+ name : ${{ github.ref_name }}
2424 body : |
25- - `viewsvg` is a simple application that showcases *resvg* capabilities
2625 - `resvg-0.*.0.tar.xz` is a sources archive with vendored Rust dependencies
2726 - `resvg-explorer-extension.exe` is an SVG thumbnailer for Windows Explorer
2827
@@ -127,11 +126,6 @@ jobs:
127126 run : |
128127 "%programfiles(x86)%\Inno Setup 6\iscc.exe" "installer.iss"
129128
130- - name : Install Qt
131- uses : jurplel/install-qt-action@v2
132- with :
133- version : ' 5.15.2'
134-
135129 # Unlike other binaries, viewsvg isn't built with crt-static
136130 - name : Build C API
137131 working-directory : crates/c-api
@@ -140,30 +134,12 @@ jobs:
140134 - name : Prepare Developer Command Prompt for MSVC
141135 uses : ilammy/msvc-dev-cmd@v1
142136
143- - name : Build viewsvg
144- working-directory : tools/viewsvg
145- run : |
146- qmake
147- nmake
148- mkdir viewsvg-bin
149- cp release/viewsvg.exe viewsvg-bin/viewsvg.exe
150- windeployqt --no-translations viewsvg-bin/viewsvg.exe
151- del viewsvg-bin/libGLESv2.dll
152- del viewsvg-bin/libEGL.dll
153- del viewsvg-bin/d3dcompiler_47.dll
154- del viewsvg-bin/opengl32sw.dll
155- Remove-Item "viewsvg-bin/iconengines" -Recurse
156- Remove-Item "viewsvg-bin/imageformats" -Recurse
157- cd viewsvg-bin
158- 7z a -tzip -mx9 viewsvg-win64.zip *
159-
160137 - name : Collect
161138 run : |
162139 mkdir bin
163140 cp target/release/resvg-win64.zip bin/
164141 cp target/release/usvg-win64.zip bin/
165142 cp tools/explorer-thumbnailer/install/resvg-explorer-extension.exe bin/
166- cp tools/viewsvg/viewsvg-bin/viewsvg-win64.zip bin/
167143
168144 - name : Upload binaries
169145 uses : alexellis/upload-assets@0.2.2
@@ -201,27 +177,11 @@ jobs:
201177 working-directory : crates/c-api
202178 run : cargo build --release
203179
204- - name : Install Qt
205- uses : jurplel/install-qt-action@v2
206- with :
207- version : ' 5.15.2'
208-
209- - name : Build viewsvg
210- working-directory : tools/viewsvg
211- run : |
212- qmake
213- make
214- macdeployqt viewsvg.app
215- rm -r viewsvg.app/Contents/Plugins/iconengines
216- rm -r viewsvg.app/Contents/Plugins/imageformats
217- 7z a -tzip -mx9 viewsvg-macos-x86_64.zip viewsvg.app
218-
219180 - name : Collect
220181 run : |
221182 mkdir bin
222183 cp target/release/resvg-macos-x86_64.zip bin/
223184 cp target/release/usvg-macos-x86_64.zip bin/
224- cp tools/viewsvg/viewsvg-macos-x86_64.zip bin/
225185
226186 - name : Upload binaries
227187 uses : alexellis/upload-assets@0.2.2
0 commit comments