diff --git a/.ci/package-mac.sh b/.ci/package-mac.sh index 98b98c39..4f4cc130 100644 --- a/.ci/package-mac.sh +++ b/.ci/package-mac.sh @@ -18,6 +18,10 @@ pushd Squirrel.app/Contents # Remove all default rime schemas but keep opencc data # Then, download the latest schemas we need and amend the `default.yaml` rm SharedSupport/*.* +echo "---------- $SCHEMA_DIR/* ----------" +ls "$SCHEMA_DIR/*" +echo "---------- $(realpath ../../schema)/* ----------" +ls $(realpath ../../schema)/* cp -rf "$SCHEMA_DIR/*" SharedSupport popd diff --git a/.github/workflows/package.yml b/.github/workflows/package.yml index 076c1478..b95addd5 100644 --- a/.github/workflows/package.yml +++ b/.github/workflows/package.yml @@ -100,10 +100,6 @@ jobs: run: | chmod u+x ./.ci/* export SCHEMA_DIR="$PWD/schema" - echo "---------- $SCHEMA_DIR ----------" - ls "$SCHEMA_DIR" - echo "---------- ../schema ----------" - ls "../schema" ./.ci/package-mac.sh - name: Upload Artifact if: inputs.event_name == 'push' || steps.check_version.outcome == 'success'