0
0

Fixed Wolfree
All checks were successful
wolfree / build (push) Successful in 13m13s

This commit is contained in:
Opnxng 2024-02-21 13:15:30 +08:00
parent d6d066c48e
commit 145ae8c561

View File

@ -45,6 +45,9 @@ jobs:
mkdir temp
cd temp
git clone ${REMOTE_REPO} .
# Temp workaround to upgrade to Docusaurus 3
git fetch origin pull/4/head:temp
git checkout temp
sed -i '/^RUN PATH="$HOME\/.cargo\/bin:$PATH" cargo run --manifest-path \.\/rust\/wolfree_libredirect_patch\/Cargo\.toml -- ;$/s/^#//' Dockerfile # Make Libredirect-compatible
docker-buildx build \
--platform ${BUILD_PLATFORM} \
@ -70,4 +73,4 @@ jobs:
STORED_COMMIT=$(curl -H "Authorization: Bearer ${{ secrets.NT }}" -s "https://nt.opnxng.com/${REPO_NAME}/raw?poll=1" | tail -n 1)
echo "STORED_COMMIT=${STORED_COMMIT}" >> "$GITHUB_ENV"
exit 1
fi
fi