Skip to content

Update README.md

Update README.md #6

Workflow file for this run

name: CI
# Controls when the workflow will run
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
workflow_dispatch:
jobs:
build:
runs-on: android above 7.O
steps:
# Checks out your repository
- name: Checkout code
uses: actions/checkout@v4
# Set up JDK (Java Development Kit)
- name: Set up JDK 11
uses: actions/setup-java@v2
with:
java-version: '11'
distribution: 'adopt'
# Build the Android project
- name: Build with Gradle
run: ./gradlew build
# Run tests
- name: Run tests
run: ./gradlew test
# Optionally, you can run linting if you have lint set up in your Gradle files
- name: Run lint
run: ./gradlew lint
# Optionally, you can publish the build artifacts or notify if needed
# Example: Upload the APK as an artifact
- name: Upload APK
uses: actions/upload-artifact@v2
with:
name: void-malware-sandbox-apk
path: app/build/outputs/apk/debug/app-debug.apk