diff --git a/.github/workflows/build-debug.yml b/.github/workflows/build-debug.yml index 1ee9f51..3dacca5 100644 --- a/.github/workflows/build-debug.yml +++ b/.github/workflows/build-debug.yml @@ -15,17 +15,14 @@ jobs: build-android-debug: name: Build Android Debug APK runs-on: ubuntu-latest + container: + image: node:20-bullseye + options: --user root steps: - - name: Setup Node.js (required for actions) - run: | - apt-get update && apt-get install -y curl sudo - curl -fsSL https://deb.nodesource.com/setup_20.x | bash - - apt-get install -y nodejs - - name: Setup Git LFS run: | - apt-get install -y git-lfs + apt-get update && apt-get install -y git-lfs git lfs install git lfs pull diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 91ddb0f..28be3a9 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -49,17 +49,14 @@ jobs: name: Build Android APK runs-on: ubuntu-latest if: ${{ github.event.inputs.build_android != 'false' }} + container: + image: node:20-bullseye + options: --user root steps: - - name: Setup Node.js (required for actions) - run: | - apt-get update && apt-get install -y curl sudo - curl -fsSL https://deb.nodesource.com/setup_20.x | bash - - apt-get install -y nodejs - - name: Setup Git LFS run: | - apt-get install -y git-lfs + apt-get update && apt-get install -y git-lfs git lfs install git lfs pull