diff --git a/.github/workflows/build-debug.yml b/.github/workflows/build-debug.yml index 8a2f96a..f2099ec 100644 --- a/.github/workflows/build-debug.yml +++ b/.github/workflows/build-debug.yml @@ -17,17 +17,23 @@ jobs: runs-on: ubuntu-latest steps: + - name: Setup Node.js (required for actions) + run: | + curl -fsSL https://deb.nodesource.com/setup_20.x | sudo -E bash - + sudo apt-get install -y nodejs + + - name: Setup Git LFS + run: | + sudo apt-get install -y git-lfs + git lfs install + git lfs pull + - name: Checkout repository uses: actions/checkout@v4 with: submodules: recursive fetch-depth: 0 - - name: Setup Git LFS - run: | - git lfs install - git lfs pull - - name: Set up JDK 17 uses: actions/setup-java@v4 with: diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4e9c694..f68a178 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -51,21 +51,27 @@ jobs: if: ${{ github.event.inputs.build_android != 'false' }} steps: + - name: Setup Node.js (required for actions) + run: | + curl -fsSL https://deb.nodesource.com/setup_20.x | sudo -E bash - + sudo apt-get install -y nodejs + + - name: Setup Git LFS + run: | + sudo apt-get install -y git-lfs + git lfs install + git lfs pull + - name: Checkout repository uses: actions/checkout@v4 with: submodules: recursive fetch-depth: 0 - - name: Setup Git LFS - run: | - git lfs install - git lfs pull - - - name: Set up JDK 11 + - name: Set up JDK 17 uses: actions/setup-java@v4 with: - java-version: ${{ env.ANDROID_JDK_VERSION }} + java-version: '17' distribution: 'temurin' cache: 'gradle'