Update .github/workflows/build_pull_request.yml
All checks were successful
PR build check / Prepare job (pull_request) Successful in 16s
PR build check / Build individual modules (pull_request) Successful in 7m6s

This commit is contained in:
AlmightyHak 2025-06-04 03:00:35 -05:00
parent b58496b564
commit a0e1b6e35c

View file

@ -8,26 +8,22 @@ on:
- '!.github/**'
- '.github/workflows/build_pull_request.yml'
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number }}
cancel-in-progress: true
env:
CI_CHUNK_SIZE: 65
jobs:
prepare:
name: Prepare job
runs-on: ubuntu-22.04
runs-on: docker
outputs:
individualMatrix: ${{ steps.generate-matrices.outputs.individualMatrix }}
steps:
- name: Checkout code manually
run: git clone https://kohiden.xyz/AlmightyHak/extensions-source.git .
- name: Run in Node.js container manually
run: |
docker run --rm \
-v "$(pwd)":/app \
-w /app \
node:18-bullseye \
sh -c "npm install && npm test"
- name: Clone repo
uses: https://github.com/actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- name: Validate Gradle Wrapper
uses: https://github.com/gradle/wrapper-validation-action@a494d935f4b56874c4a5a87d19af7afcf3a163d0 # v2
@ -56,7 +52,7 @@ jobs:
build_individual:
name: Build individual modules
needs: prepare
runs-on: ubuntu-22.04
runs-on: docker
strategy:
matrix: ${{ fromJSON(needs.prepare.outputs.individualMatrix) }}
steps:
@ -68,7 +64,7 @@ jobs:
with:
java-version: 17
distribution: temurin
- name: Set up Android SDK
uses: https://github.com/android-actions/setup-android@00854ea68c109d98c75d956347303bf7c45b0277 # v3
with: