mirror of
https://github.com/Swordfish90/cool-retro-term.git
synced 2026-02-08 00:32:27 +00:00
Fix workflows.
This commit is contained in:
3
.github/workflows/build-appimage.yml
vendored
3
.github/workflows/build-appimage.yml
vendored
@@ -14,6 +14,7 @@ jobs:
|
||||
permissions:
|
||||
contents: read
|
||||
id-token: write
|
||||
attestations: write
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
@@ -29,7 +30,7 @@ jobs:
|
||||
with:
|
||||
version: 6.10.0
|
||||
dir: ..
|
||||
modules: qtshadertools
|
||||
modules: qt5compat qtshadertools
|
||||
setup-python: false
|
||||
cache: true
|
||||
|
||||
|
||||
3
.github/workflows/build-dmg.yml
vendored
3
.github/workflows/build-dmg.yml
vendored
@@ -14,6 +14,7 @@ jobs:
|
||||
permissions:
|
||||
contents: read
|
||||
id-token: write
|
||||
attestations: write
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
@@ -23,7 +24,7 @@ jobs:
|
||||
uses: jurplel/install-qt-action@v4
|
||||
with:
|
||||
version: 6.10.*
|
||||
modules: qtshadertools
|
||||
modules: qt5compat qtshadertools
|
||||
setup-python: true
|
||||
python-version: '3.11'
|
||||
cache: true
|
||||
|
||||
Submodule qmltermwidget updated: ed85066d14...7dad24fefb
@@ -33,9 +33,15 @@ mkdir -p "$APP/Contents/PlugIns"
|
||||
cp -R qmltermwidget/QMLTermWidget "$PLUGIN_DST"
|
||||
|
||||
export QML_IMPORT_PATH="$PWD/$APP/Contents/PlugIns"
|
||||
"$QT_BIN/macdeployqt" "$APP" -qmldir="$QML_DIR" -dmg
|
||||
"$QT_BIN/macdeployqt" "$APP" -qmldir="$QML_DIR"
|
||||
|
||||
rm -f "$APP/Contents/PlugIns/sqldrivers/"libqsql{odbc,psql,mimer}.dylib 2>/dev/null || true
|
||||
|
||||
# Remove stale signatures and ad-hoc sign so Gatekeeper doesn't report corruption.
|
||||
codesign --remove-signature "$APP" 2>/dev/null || true
|
||||
rm -rf "$APP/Contents/_CodeSignature"
|
||||
codesign --force --deep --sign - "$APP"
|
||||
DMG_OUT="${APP%.app}-${VERSION}.dmg"
|
||||
mv "$BUILD_DIR/${APP%.app}.dmg" "$OLD_CWD/$DMG_OUT"
|
||||
hdiutil create -volname "${APP%.app}" -srcfolder "$APP" -ov -format UDZO "$DMG_OUT"
|
||||
mv "$BUILD_DIR/$DMG_OUT" "$OLD_CWD/$DMG_OUT"
|
||||
popd
|
||||
|
||||
Reference in New Issue
Block a user