From 5b08479e7f82176228da25e805fd805746bc3550 Mon Sep 17 00:00:00 2001 From: Mofazzal Date: Sat, 18 May 2024 19:11:50 +0600 Subject: [PATCH] CI Testing build is added --- .github/workflows/BuildFile.yml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 .github/workflows/BuildFile.yml diff --git a/.github/workflows/BuildFile.yml b/.github/workflows/BuildFile.yml new file mode 100644 index 0000000..fe2bae5 --- /dev/null +++ b/.github/workflows/BuildFile.yml @@ -0,0 +1,33 @@ +name: BuildFile + +on: + pull_request: + branches: [main] + push: + branches: [main] + +jobs: + build: + runs-on: windows-latest + steps: + - name: Checkout + uses: actions/checkout@v4.1.0 + - name: Setup Java JDK + uses: actions/setup-java@v3.13.0 + with: + java-version: '17' + distribution: 'adopt' + - name: Grant execute permission to gradlew + run: chmod +x ./gradlew + - name: Build with Gradle + run: ./gradlew build + - name: Upload a Build Artifact + uses: actions/upload-artifact@v3.1.3 + with: + name: PharmaPlus.apk + path: app/build/outputs/apk/debug/app-debug.apk + + + + +