diff --git a/.github/workflows/.craft.ps1 b/.github/workflows/.craft.ps1 index bc7639e70..b3b555258 100644 --- a/.github/workflows/.craft.ps1 +++ b/.github/workflows/.craft.ps1 @@ -1,3 +1,7 @@ +# enable handling of exit codes in powershell +$PSNativeCommandUseErrorActionPreference=$true + +# define which python to use if ($IsWindows) { $python = (Get-Command py).Source $python=(py -c "import sys; print(sys.executable)") diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index b9c843118..f4600c6c2 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -40,14 +40,14 @@ jobs: matrix: include: - target: windows-cl-msvc2022-x86_64 - os: windows-latest + os: windows-2022 container: - target: macos-clang-arm64 os: macos-latest container: - target: linux-gcc-x86_64 os: ubuntu-latest - container: invent-registry.kde.org/sysadmin/ci-images/craft-appimage:latest + container: invent-registry.kde.org/sysadmin/ci-images/craft-appimage-alma9:latest name: ${{ matrix.target }} @@ -128,7 +128,7 @@ jobs: } elseif($IsLinux) { & "${env:GITHUB_WORKSPACE}/.github/workflows/.craft.ps1" -c dev-utils/linuxdeploy # ensure we have fuse3-devel installed - dnf install -y fuse3-devel + dnf install -y fuse3-devel file } - name: Install dependencies