Code: Select all
[ DefaultBuild ]
Building package: D:\a\<redacted-dir-name>\dist\<redacted-app-name>.msi
Prepare build
Preparing filesThere have been no changes to our Advanced Installer project recently, nor anything else that touched our build pipeline (between our most recent successful build and now, this hanging build).
We have eliminated as possibilities:
- changes in the GH runner instance and image (no changes between working build and hanging build, additionally, tried with windows-2022 instead of windows-latest)
- changes in the workflow file we are using (no changes between working build and hanging build)
- differences in Advanced Installer version (tried an .aip file saved in both 23.3 and 23.2)
- differences in signing (tried with signing enabled with necessary env variables and disabled)
Creating a fork of the advanced-installer-action repo to show the output of the builder when running:
Code: Select all
[ DefaultBuild ]
Building package: Building package: D:\a\<redacted-dir-name>\dist\<redacted-app-name>.msiD:\a\<redacted-dir-name>\dist\<redacted-app-name>.msi
Prepare buildPrepare build
Preparing filesPreparing files Our invocation of the GitHub Action is as follows:
Code: Select all
- name: Build ${{ inputs.file_extension }} package
if: ${{ steps.check-tokens.outputs.skip_build == 'false' }}
id: build-package
uses: caphyon/advinst-github-action@main
with:
advinst-license: ${{ env.ADVINST_LICENSE_KEY }}
advinst-enable-automation: 'true'
aip-path: windows-installer\installer\<redacted-name>.aip
aip-build-name: ${{ inputs.aip_build_name }}
aip-package-name: <redacted-name>.${{ inputs.file_extension }}
aip-output-dir: ${{ github.workspace }}\dist
aip-commands: |
UpdateFile "APPDIR\[|ProductNameSuffixed][|AgentVersion]\<redacted-name>.exe" ${{ env.exe_path }}
AddFolder "APPDIR\[|ProductNameSuffixed][|AgentVersion]" ${{ github.workspace }}\dist\<redacted-name> -install_in_parent_folder
UpdateFile "APPDIR\[|ProductNameSuffixed][|AgentVersion]\<redacted-name>\NEW_VERSION" -name VERSION
SetVersion ${{ contains(inputs.agent_version, 'dev') && '0.0.0' || inputs.agent_version }}
SetProductCode -langid 1033
SetProperty AgentVersion="${{ inputs.agent_version }}"
SetProperty <redacted-name>Name="${{ inputs.<redacted-name>_name }}"
SetProperty PlatformVersion="${{ env.PLATFORM_VERSION }}"
SetPackageType ${{ inputs.architecture }}
${{
inputs.architecture == 'x64'
&& format('SetAppdir -buildname {0} -path [ProgramFiles64Folder][Manufacturer]', inputs.aip_build_name)
|| ''
}}
FOLLOW US
Get the latest news in Application Packaging