input QT_BIN_DIR
This commit is contained in:
parent
4c9a249695
commit
c9b61f48cf
2 changed files with 19 additions and 16 deletions
5
.github/workflows/deploy.yml
vendored
5
.github/workflows/deploy.yml
vendored
|
|
@ -345,7 +345,10 @@ jobs:
|
|||
run: chmod +x deploy/build_macos_ne.sh
|
||||
|
||||
- name: 'Build and deploy macOS NE'
|
||||
run: bash deploy/build_macos_ne.sh
|
||||
run: |
|
||||
export QT_BIN_DIR="${{ runner.temp }}/Qt/${{ env.QT_VERSION }}/macos/bin"
|
||||
export QIF_BIN_DIR="${{ runner.temp }}/Qt/Tools/QtInstallerFramework/${{ env.QIF_VERSION }}/bin"
|
||||
bash deploy/build_macos_ne.sh
|
||||
env:
|
||||
MAC_CERT_PW: ${{ secrets.MAC_CERT_PW }}
|
||||
MAC_SIGNER_ID: ${{ secrets.MAC_SIGNER_ID }}
|
||||
|
|
|
|||
|
|
@ -35,24 +35,24 @@ INSTALLER_DATA_DIR=$BUILD_DIR/installer/packages/$APP_DOMAIN/data
|
|||
INSTALLER_BUNDLE_DIR=$BUILD_DIR/installer/$APP_FILENAME
|
||||
DMG_FILENAME=$PROJECT_DIR/${APP_NAME}.dmg
|
||||
|
||||
# Check if QT_PATH is properly set
|
||||
if [ -z "${QT_PATH+x}" ]; then
|
||||
echo "Error: QT_PATH is not set."
|
||||
exit 1
|
||||
fi
|
||||
# # Check if QT_PATH is properly set
|
||||
# if [ -z "${QT_PATH+x}" ]; then
|
||||
# echo "Error: QT_PATH is not set."
|
||||
# exit 1
|
||||
# fi
|
||||
|
||||
# Set QT_BIN_DIR to the bin folder of the Qt installation
|
||||
QT_BIN_DIR="$QT_PATH/bin"
|
||||
# # Set QT_BIN_DIR to the bin folder of the Qt installation
|
||||
# QT_BIN_DIR="$QT_PATH/bin"
|
||||
|
||||
# Check if QT_BIN_DIR exists
|
||||
if [ ! -d "$QT_BIN_DIR" ]; then
|
||||
echo "Error: QT_BIN_DIR does not exist at $QT_BIN_DIR"
|
||||
exit 1
|
||||
fi
|
||||
# # Check if QT_BIN_DIR exists
|
||||
# if [ ! -d "$QT_BIN_DIR" ]; then
|
||||
# echo "Error: QT_BIN_DIR does not exist at $QT_BIN_DIR"
|
||||
# exit 1
|
||||
# fi
|
||||
|
||||
# Show the content of QT_BIN_DIR
|
||||
echo "Listing contents of QT_BIN_DIR:"
|
||||
ls -la $QT_BIN_DIR || { echo "Error: Cannot access $QT_BIN_DIR"; exit 1; }
|
||||
# # Show the content of QT_BIN_DIR
|
||||
# echo "Listing contents of QT_BIN_DIR:"
|
||||
# ls -la $QT_BIN_DIR || { echo "Error: Cannot access $QT_BIN_DIR"; exit 1; }
|
||||
|
||||
# Check if QIF_VERSION is properly set, otherwise set a default
|
||||
if [ -z "${QIF_VERSION+x}" ]; then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue