Skip to content

Commit

Permalink
Build msi packages in workflow.
Browse files Browse the repository at this point in the history
  • Loading branch information
dchapyshev committed Oct 29, 2023
1 parent ba21379 commit 8e629bd
Show file tree
Hide file tree
Showing 3 changed files with 155 additions and 108 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,15 +88,18 @@ jobs:
ctest --preset ninja-multi-vcpkg-ci-${{ matrix.build_type }}
# Step 5
- name: Build MSI packages
run: |
installer/build.cmd "2.6.0" "matrix.arch" "${{ github.workspace }}" "${{ github.workspace }}/builds/ninja-multi-vcpkg-ci/${{ matrix.build_type }}"
shell: cmd
working-directory: ${{ github.workspace }}

# Step 6
- name: Upload Artifacts
uses: actions/upload-artifact@v3
with:
name: build-${{ matrix.os }}-${{ matrix.arch }}-${{ matrix.build_type }}
path: |
${{ github.workspace }}/builds/ninja-multi-vcpkg-ci/${{ matrix.build_type }}/*
!${{ github.workspace }}/builds/ninja-multi-vcpkg-ci/${{ matrix.build_type }}/*.lib
!${{ github.workspace }}/builds/ninja-multi-vcpkg-ci/${{ matrix.build_type }}/*.exp
!${{ github.workspace }}/builds/ninja-multi-vcpkg-ci/${{ matrix.build_type }}/*.manifest
!${{ github.workspace }}/builds/ninja-multi-vcpkg-ci/${{ matrix.build_type }}/aspia_base_tests*
${{ github.workspace }}/builds/ninja-multi-vcpkg-ci/${{ matrix.build_type }}/*.msi
if-no-files-found: error
retention-days: 7
Loading

0 comments on commit 8e629bd

Please sign in to comment.