Skip to content

Commit 4f38531

Browse files
authored
Update desktop_build.yml
1 parent 9331e29 commit 4f38531

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/desktop_build.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ jobs:
8282
run: |
8383
cd standalone
8484
"%programfiles(x86)%\Inno Setup 6\iscc.exe" "build_installer.iss"
85-
mv dist/TissUUmaps.exe dist/TissUUmaps_${{ matrix.os }}.exe
85+
mv dist/TissUUmaps.exe dist/TissUUmaps_${{ matrix.os }}_${{runner.arch}}.exe
8686
shell: cmd
8787

8888
- name: 💻 Create Mac App DMG
@@ -102,7 +102,7 @@ jobs:
102102
--icon-size 100 \
103103
--hide-extension "TissUUmaps.app" \
104104
--app-drop-link 0 0 \
105-
"dist/TissUUmaps_${{ matrix.os }}_$RUNNER_ARCH.dmg" \
105+
"dist/TissUUmaps_${{ matrix.os }}_${{runner.arch}}.dmg" \
106106
"dist/dmg/"
107107
108108
- uses: ruby/setup-ruby@v1
@@ -131,13 +131,13 @@ jobs:
131131
chmod 755 package/usr/bin/tissuumaps
132132
133133
# Package the app
134-
fpm -C package -s dir -d libvips -d libxcb-cursor0 -d openslide-tools -t deb -n TissUUmaps -p dist/TissUUmaps_${{ matrix.os }}.deb
134+
fpm -C package -s dir -d libvips -d libxcb-cursor0 -d openslide-tools -t deb -n TissUUmaps -p dist/TissUUmaps_${{ matrix.os }}_${{runner.arch}}.deb
135135
136136
- name: Upload the installer as an artifact
137137
uses: actions/upload-artifact@v3
138138
with:
139-
path: standalone/dist/TissUUmaps_${{ matrix.os }}.${{matrix.extension}}
140-
name: TissUUmaps_${{ matrix.os }}.${{matrix.extension}}
139+
path: standalone/dist/TissUUmaps_${{ matrix.os }}_${{runner.arch}}.${{matrix.extension}}
140+
name: TissUUmaps_${{ matrix.os }}_${{runner.arch}}.${{matrix.extension}}
141141

142142
release:
143143
runs-on: ubuntu-22.04

0 commit comments

Comments
 (0)