File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3030 - name : Extract version from packagedef
3131 id : get_version
3232 run : |
33- VERSION=$(grep -oP '\.Версия\("\K[^"]+' packagedef)
34- echo "version=$VERSION" >> $GITHUB_OUTPUT
33+ VERSION=$(grep -oP '\.Версия\("\K[^"]+' packagedef || true)
34+ if [ -z "$VERSION" ]; then
35+ echo "Error: failed to extract version from packagedef."
36+ exit 1
37+ fi
38+ echo "version=$VERSION" >> "$GITHUB_OUTPUT"
3539 echo "Extracted version: $VERSION"
3640
3741 - name : Create dist directory
4145
4246 - name : Build Windows installer with Inno Setup
4347 run : |
48+ if [ ! -f "ovm.exe" ]; then
49+ echo "Error: ovm.exe not found in workspace root. Ensure the 'Build ovm.exe' step completed successfully."
50+ exit 1
51+ fi
4452 docker run --rm -i -v "$GITHUB_WORKSPACE:/work" -w /work amake/innosetup \
4553 /DMyAppVersion="${{ steps.get_version.outputs.version }}" \
4654 install/ovm.iss
Original file line number Diff line number Diff line change 6565 Result := Pos(' ;' + Uppercase(ParamExpanded) + ' ;' , ' ;' + Uppercase(OrigPath) + ' ;' ) = 0 ;
6666 // Also check with trailing backslash variant
6767 if Result = True then
68- Result := Pos(' ;' + Uppercase(ParamExpanded) + ' \' + ' ;' , ' ;' + Uppercase(OrigPath) + ' ;' ) = 0 ;
68+ Result := Pos(' ;' + Uppercase(ParamExpanded) + ' \' + ' ;' , ' ;' + Uppercase(OrigPath) + ' ;' ) = 0 ;
6969end ;
7070
7171procedure CurStepChanged (CurStep: TSetupStep);
You can’t perform that action at this time.
0 commit comments