Skip to content

Commit

Permalink
Create workflowvms.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
PardhuSreeRushiVarma20060119 authored Oct 15, 2024
1 parent 057dc48 commit 1377258
Showing 1 changed file with 45 additions and 0 deletions.
45 changes: 45 additions & 0 deletions .github/workflows/blank.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
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

0 comments on commit 1377258

Please sign in to comment.