From 298edf7117dd5747991aacef3ab42cef2d300846 Mon Sep 17 00:00:00 2001 From: Mpendulo Ndlovu Date: Fri, 29 Sep 2023 10:25:34 +0200 Subject: [PATCH] Create build-actions.yml --- .github/workflows/build-actions.yml | 35 +++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 .github/workflows/build-actions.yml diff --git a/.github/workflows/build-actions.yml b/.github/workflows/build-actions.yml new file mode 100644 index 00000000..3318e697 --- /dev/null +++ b/.github/workflows/build-actions.yml @@ -0,0 +1,35 @@ +# This workflow uses actions that are not certified by GitHub. +# They are provided by a third-party and are governed by +# separate terms of service, privacy policy, and support +# documentation. +# This workflow will build a Java project with Gradle and cache/restore any dependencies to improve the workflow execution time +# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-gradle + +name: Android SDK CI with Gradle +run-name: ${{ github.actor }} triggered job 🚀 + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + +permissions: + contents: read + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + - name: Set up JDK 11 + uses: actions/setup-java@v3 + with: + java-version: '11' + distribution: 'temurin' + - name: Build with Gradle + uses: gradle/gradle-build-action@bd5760595778326ba7f1441bcf7e88b49de61a25 # v2.6.0 + with: + arguments: build