diff --git a/.github/workflows/mmrl-debug.yml b/.github/workflows/mmrl-debug.yml index aac18e88..d0290aef 100644 --- a/.github/workflows/mmrl-debug.yml +++ b/.github/workflows/mmrl-debug.yml @@ -22,6 +22,10 @@ jobs: contents: read packages: write + strategy: + matrix: + node-version: [ 18 ] + steps: - name: Check out repository uses: actions/checkout@v3 @@ -34,6 +38,11 @@ jobs: java-version: 17 distribution: 'temurin' + - name: Set up Node.js 18 + - uses: actions/setup-node@v3 + with: + node-version: ${{ matrix.node-version }} + - name: Setup Android SDK uses: android-actions/setup-android@v2 @@ -45,11 +54,16 @@ jobs: notifications jdks ${{ github.workspace }}/.gradle/configuration-cache - - - name: Change wrapper permissions - run: chmod +x ./gradlew - - name: Build apk debug - run: ./gradlew app:assembleDefaultDebug + + - name: Build Debug APK + run: | + chmod +x ./Android/gradlew + cd ./Website + npm install --force + npm run web:dev + npm run assetfix:android-clean + npm run assetfix:android-build + ./Android/gradlew app:assembleDefaultDebug - name: Upload MMRL-default-arm64-v8a-debug uses: actions/upload-artifact@v3