Skip to content

Commit

Permalink
Try building msi from github action
Browse files Browse the repository at this point in the history
  • Loading branch information
Leapward-Koex committed Nov 14, 2024
1 parent 4d36fc7 commit 3f82365
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion .github/workflows/dotnet-desktop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,13 +99,31 @@ jobs:
Appx_Package_Build_Mode: StoreUpload
Configuration: ${{ matrix.configuration }}

- name: Build AIP
uses: caphyon/advinst-github-action@v2.0
with:
advinst-version: '22.2'
advinst-enable-automation: 'true'
aip-path: ./Installer/Mai Touch Emulator.aip
aip-build-name: DefaultBuild
aip-package-name: installMaiTouchEmulator.msi
aip-output-dir: ./setup
aip-commands: |
SetProperty FOO="foo"
SetVersion 1.4.0.${{ github.run_number }}
# Remove the pfx
- name: Remove the pfx
run: Remove-Item -path $env:Wap_Project_Directory\GitHubActionsWorkflow.pfx

# Upload the MSIX package: https://github.com/marketplace/actions/upload-a-build-artifact
- name: Upload build artifacts
uses: actions/upload-artifact@v3
with:
name: Emulator package
path: ./bin/Release/net8.0-windows10.0.17763.0/

- name: Publish setup artifact
uses: actions/upload-artifact@v3
with:
name: setup
path: ./setup/installMaiTouchEmulator.msi

0 comments on commit 3f82365

Please sign in to comment.