Skip to content

Unlimotion msiPkg

Unlimotion msiPkg #96

Workflow file for this run

name: Unlimotion msiPkg
on:
release:
types:
- published
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
jobs:
advinst-aip-build:
runs-on: windows-2022
steps:
- name: Checkout
uses: actions/checkout@v3
with:
ref: ${{ github.sha }}
- name: Debug Ref Name
uses: ./.github/actions/debug-step
- name: Set AppName
uses: ./.github/actions/setAppName-byBash-step
- name: Publish
run: dotnet publish src\Unlimotion.Desktop\Unlimotion.Desktop.csproj -c Release -f net7.0 -r win-x64 -o ${{ github.workspace }}\src\Unlimotion.Desktop\bin\Release\net7.0\win-x64\publish -p:PublishSingleFile=true --self-contained true -p:IncludeNativeLibrariesForSelfExtract=true -p:DebugType=None -p:DebugSymbols=false -p:Version=${{ github.ref_name }}
- name: Build AIP
uses: caphyon/[email protected]
with:
advinst-version: '20.3.2'
advinst-enable-automation: 'true'
aip-path: ${{ github.workspace }}\Unlimotion.aip
aip-build-name: DefaultBuild
aip-package-name: Unlimotion-${{ github.ref_name }}.msi
aip-output-dir: ${{ github.workspace }}\setup
aip-commands: |
SetProperty FOO="foo"
SetVersion ${{ github.ref_name }}
- name: Upload MsiPkg to Release
uses: xresloader/[email protected]
with:
file: ${{ github.workspace }}\setup\Unlimotion-${{ github.ref_name }}.msi
tags: true