Skip to content

Commit 90be483

Browse files
Merge branch 'fix-windows-build-step-in-e2e-workflow'
2 parents 8de6bf8 + 9c5aac5 commit 90be483

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

.github/workflows/desktop-e2e.yml

+10-1
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,16 @@ jobs:
206206
vs-version: 16
207207
- name: Build app
208208
shell: bash
209-
run: ./build.sh
209+
run: |
210+
./build.sh
211+
# FIXME: Strip architecture-specific suffix. The remaining steps assume that the windows installer has no
212+
# arch-suffix. This should probably be addressed when we add a Windows arm runner. Or maybe it will just keep
213+
# on working ¯\_(ツ)_/¯
214+
pushd dist
215+
original_file=$(find *.exe)
216+
new_file=$(echo $original_file | perl -pe "s/^(MullvadVPN-.*?)(_x64|_arm64)?(\.exe)$/\1\3/p")
217+
mv "$original_file" "$new_file"
218+
popd
210219
- name: Build test executable
211220
shell: bash
212221
run: ./desktop/packages/mullvad-vpn/scripts/build-test-executable.sh

0 commit comments

Comments
 (0)