chore(actions): include prism_version in matrix for msix

Signed-off-by: seth <getchoo@tuta.io>
This commit is contained in:
seth 2023-06-18 22:43:48 -04:00
parent 76cc8a33d4
commit c065d06149
No known key found for this signature in database
GPG Key ID: D31BD0D494BBEE86

View File

@ -71,6 +71,7 @@ jobs:
qt_version: '6.5.1' qt_version: '6.5.1'
qt_modules: 'qt5compat qtimageformats' qt_modules: 'qt5compat qtimageformats'
qt_tools: '' qt_tools: ''
prism_version: '8.0'
- os: windows-2022 - os: windows-2022
name: "Windows-MSVC-arm64" name: "Windows-MSVC-arm64"
@ -83,6 +84,7 @@ jobs:
qt_version: '6.5.1' qt_version: '6.5.1'
qt_modules: 'qt5compat qtimageformats' qt_modules: 'qt5compat qtimageformats'
qt_tools: '' qt_tools: ''
prism_version: '8.0'
- os: macos-12 - os: macos-12
name: macOS name: macOS
@ -446,7 +448,7 @@ jobs:
Copy-Item ${{ github.workspace }}\program_info\prismlauncher_*x*.png . Copy-Item ${{ github.workspace }}\program_info\prismlauncher_*x*.png .
(Get-Content ${{ github.workspace }}\program_info\AppxManifest.xml) ` (Get-Content ${{ github.workspace }}\program_info\AppxManifest.xml) `
-replace "PRISM_VERSION_REPLACEME","7.0.0.$version" ` -replace "PRISM_VERSION_REPLACEME","${{ matrix.prism_version }}.0.$version" `
-replace "PRISM_ARCH_REPLACEME","${{ matrix.architecture }}" ` -replace "PRISM_ARCH_REPLACEME","${{ matrix.architecture }}" `
> .\AppxManifest.xml > .\AppxManifest.xml
@ -629,7 +631,7 @@ jobs:
shell: pwsh shell: pwsh
run: | run: |
$version = ("${{ github.run_number }}").Substring(0, 3) $version = ("${{ github.run_number }}").Substring(0, 3)
"APPX_VERSION=7.0.0.$version" >> $env:GITHUB_ENV "APPX_VERSION=${{ matrix.prism_version }}.0.$version" >> $env:GITHUB_ENV
- name: Create Bundle Staging Directory - name: Create Bundle Staging Directory
shell: pwsh shell: pwsh