fixing ci

This commit is contained in:
2025-04-13 18:52:37 +02:00
parent 512b8b61fe
commit 8e9a38ceb9
9 changed files with 126 additions and 5 deletions

View File

@@ -38,6 +38,12 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4
- name: Detect if running in act
run: |
if grep -q "act" <<< "$GITHUB_ACTOR"; then
echo "XMAKE_ROOT=y" >> $GITHUB_ENV
fi
# Force xmake to a specific folder (for cache)
- name: Set xmake env
run: echo "XMAKE_GLOBALDIR=${{ runner.workspace }}/xmake-global" >> $GITHUB_ENV