summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMarkus Pettersson <markus.pettersson@mullvad.net>2024-12-13 18:45:10 +0100
committerMarkus Pettersson <markus.pettersson@mullvad.net>2024-12-13 18:45:10 +0100
commit90be48330eb496efd9fa926ce891d8a9a0adf61b (patch)
treef961cfd7efad9f0005eb68de04d259b305df2f00
parent8de6bf8d59c4fe68d7f2f18e7d8bfa43e734a617 (diff)
parent9c5aac5d04874443a8b5ed04f138a71244c5834b (diff)
downloadmullvadvpn-90be48330eb496efd9fa926ce891d8a9a0adf61b.tar.xz
mullvadvpn-90be48330eb496efd9fa926ce891d8a9a0adf61b.zip
Merge branch 'fix-windows-build-step-in-e2e-workflow'
-rw-r--r--.github/workflows/desktop-e2e.yml11
1 files changed, 10 insertions, 1 deletions
diff --git a/.github/workflows/desktop-e2e.yml b/.github/workflows/desktop-e2e.yml
index 96acdc3c7e..20f2f96926 100644
--- a/.github/workflows/desktop-e2e.yml
+++ b/.github/workflows/desktop-e2e.yml
@@ -206,7 +206,16 @@ jobs:
vs-version: 16
- name: Build app
shell: bash
- run: ./build.sh
+ run: |
+ ./build.sh
+ # FIXME: Strip architecture-specific suffix. The remaining steps assume that the windows installer has no
+ # arch-suffix. This should probably be addressed when we add a Windows arm runner. Or maybe it will just keep
+ # on working ¯\_(ツ)_/¯
+ pushd dist
+ original_file=$(find *.exe)
+ new_file=$(echo $original_file | perl -pe "s/^(MullvadVPN-.*?)(_x64|_arm64)?(\.exe)$/\1\3/p")
+ mv "$original_file" "$new_file"
+ popd
- name: Build test executable
shell: bash
run: ./desktop/packages/mullvad-vpn/scripts/build-test-executable.sh