Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
098suraj authored Dec 4, 2022
1 parent 3b90673 commit 91152b0
Showing 1 changed file with 1 addition and 25 deletions.
26 changes: 1 addition & 25 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,34 +9,10 @@ on:
- 'master'

jobs:
build: # defines a job called build
name: 🔨 Build
runs-on: ubuntu-latest
steps: # groups together all the steps that run in build job

# Checks out code from the VCS to the runner
- name: Checkout code # [optional] specifies the name of the step
uses: actions/checkout@v2 # specifies which action and version to execute ie. checkout@v2

# Setup JDK Version 17 in the runner
- name: Set up JDK 17
uses: actions/setup-java@v1
with:
java-version: 17.0.1

# Allow permissions to make gradle executable - This can removed by adding the gradlew file permission
# directly into the repository using `git update-index --chmod=+x gradlew`
- name: Make gradle executable
run: chmod +x ./gradlew

# Execute gradle build command with stacktrace flag
- name: Build with gradle
run: ./gradlew build --stacktrace # Execute gradle script to build project



generate-apk: # Job to generate debug apk
name: ⚙️Generate APK
needs: [build]
runs-on: ubuntu-latest
steps:

Expand Down

0 comments on commit 91152b0

Please sign in to comment.