Actions build: fix errors.

This commit is contained in:
kongfl888 2024-10-13 14:24:38 +08:00
parent cdce02607a
commit 5a386a5bd6
2 changed files with 2 additions and 1 deletions

View file

@ -8,6 +8,7 @@ COMPAT_LIST='dist/compatibility_list/compatibility_list.json'
mkdir artifacts mkdir artifacts
sudo rm -f /usr/lib/python3.*/EXTERNALLY-MANAGED
pip3 install git-archive-all pip3 install git-archive-all
touch "${COMPAT_LIST}" touch "${COMPAT_LIST}"
git describe --abbrev=0 --always HEAD > GIT-COMMIT git describe --abbrev=0 --always HEAD > GIT-COMMIT

View file

@ -175,7 +175,7 @@ jobs:
name: ${{ env.OS }}-${{ env.TARGET }} name: ${{ env.OS }}-${{ env.TARGET }}
path: artifacts/ path: artifacts/
android: android:
runs-on: ubuntu-latest runs-on: ubuntu-22.04
env: env:
CCACHE_DIR: ${{ github.workspace }}/.ccache CCACHE_DIR: ${{ github.workspace }}/.ccache
CCACHE_COMPILERCHECK: content CCACHE_COMPILERCHECK: content