From ccb2d368663a57fa301d0ad02eb4ef272e360fe7 Mon Sep 17 00:00:00 2001 From: 7w1 Date: Fri, 24 Jul 2026 21:37:10 -0500 Subject: [PATCH] fix workflows again please work --- .github/actions/setup/action.yml | 4 +++- scripts/cef/copy-libs.sh | 9 ++++++--- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/.github/actions/setup/action.yml b/.github/actions/setup/action.yml index cd1ac6b70..0bad872f8 100644 --- a/.github/actions/setup/action.yml +++ b/.github/actions/setup/action.yml @@ -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 diff --git a/scripts/cef/copy-libs.sh b/scripts/cef/copy-libs.sh index 30603f817..fe776923e 100644 --- a/scripts/cef/copy-libs.sh +++ b/scripts/cef/copy-libs.sh @@ -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/ (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