From 5a386a5bd6beb8ecf374086b1ce47494ca94adc4 Mon Sep 17 00:00:00 2001 From: kongfl888 <6991229+kongfl888@users.noreply.github.com> Date: Sun, 13 Oct 2024 14:24:38 +0800 Subject: [PATCH] Actions build: fix errors. --- .ci/source.sh | 1 + .github/workflows/build.yml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.ci/source.sh b/.ci/source.sh index 76f92f10d..5bfe9d08d 100755 --- a/.ci/source.sh +++ b/.ci/source.sh @@ -8,6 +8,7 @@ COMPAT_LIST='dist/compatibility_list/compatibility_list.json' mkdir artifacts +sudo rm -f /usr/lib/python3.*/EXTERNALLY-MANAGED pip3 install git-archive-all touch "${COMPAT_LIST}" git describe --abbrev=0 --always HEAD > GIT-COMMIT diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0ac19bfb5..5ee0cba44 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -175,7 +175,7 @@ jobs: name: ${{ env.OS }}-${{ env.TARGET }} path: artifacts/ android: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 env: CCACHE_DIR: ${{ github.workspace }}/.ccache CCACHE_COMPILERCHECK: content