mirror of
https://github.com/SableClient/Sable.git
synced 2026-11-20 00:51:17 -08:00
fix workflows again please work
This commit is contained in:
1 parent
fc449b94eb
commit
ccb2d36866
2 files changed
+9
-4
No files matched your search
@@ -30,7 +30,9 @@ runs:
|
||||
- name: Trust project mise configuration
|
||||
shell: bash
|
||||
working-directory: ${{ github.workspace }}
|
||||
run: mise trust --all
|
||||
run: |
|
||||
mise trust --all
|
||||
echo "MISE_TRUSTED_CONFIG_PATHS=$GITHUB_WORKSPACE" >> "$GITHUB_ENV"
|
||||
|
||||
- name: Install dependencies
|
||||
shell: bash
|
||||
|
||||
@@ -5,14 +5,17 @@
|
||||
# deep link, or from a release package. Pair with the rpath=$ORIGIN that
|
||||
# build.rs adds for CEF builds.
|
||||
#
|
||||
# Usage: scripts/cef-copy-libs.sh [debug|release] [dest-dir]
|
||||
# Usage: scripts/cef/copy-libs.sh [debug|release] [dest-dir]
|
||||
# dest-dir defaults to src-tauri/target/<profile> (beside the built binary).
|
||||
set -euo pipefail
|
||||
PROFILE="${1:-debug}"
|
||||
ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
|
||||
ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/../.." && pwd)"
|
||||
DEST="${2:-$ROOT/src-tauri/target/$PROFILE}"
|
||||
|
||||
CEF_DIR="$(find "$ROOT/src-tauri/target/$PROFILE/build" -type d -name cef_linux_x86_64 2>/dev/null | head -1)"
|
||||
CEF_DIR="$(
|
||||
find "$ROOT/src-tauri/target/$PROFILE/build" \
|
||||
-type d -name cef_linux_x86_64 -print -quit 2>/dev/null || true
|
||||
)"
|
||||
if [ -z "$CEF_DIR" ]; then
|
||||
echo "❌ CEF dist not found under target/$PROFILE/build — build with --features cef first." >&2
|
||||
exit 1
|
||||
|
||||
Reference in new issue
Block a user