diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 417b3f3..9c33641 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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: