ci(github): upload build artifacts for Windows (#1485)

This commit is contained in:
Oleg Shparber 2023-04-09 02:25:54 -04:00 committed by GitHub
parent 1f0509ab8b
commit a099487aa6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -141,6 +141,26 @@ jobs:
configurePreset: ${{ matrix.config.configurePreset }} configurePreset: ${{ matrix.config.configurePreset }}
buildPreset: ${{ matrix.config.buildPreset }} buildPreset: ${{ matrix.config.buildPreset }}
- name: Retrieve Application Version
run: |
$zeal_version = Get-Content build/${{ matrix.config.configurePreset }}/zeal_version
Write-Output "Zeal Version: $zeal_version"
"ZEAL_VERSION=$zeal_version" >> $env:GITHUB_ENV
- name: Install
if: matrix.config.os == 'windows-2022'
run: cmake --build build/${{ matrix.config.configurePreset }} --config RelWithDebInfo --target install
- name: Upload Artifacts
uses: actions/upload-artifact@v3
if: matrix.config.os == 'windows-2022'
with:
name: zeal-${{ env.ZEAL_VERSION }}${{ matrix.config.configurePreset == 'ninja-multi-vcpkg-portable' && '-portable' || '' }}-windows-x64
path: |
build/${{ matrix.config.configurePreset }}/bin/RelWithDebInfo
!**/*.idl
!**/*.pdb
build-appimage: build-appimage:
name: AppImage name: AppImage
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04