Skip to content

1.11.0

1.11.0 #126

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: Publish
run: dotnet publish src\Unlimotion.Desktop\Unlimotion.Desktop.csproj -c Release -f net8.0 -r win-x64 -o ${{ github.workspace }}\src\Unlimotion.Desktop\bin\Release\net8.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