Skip to content

Commit

Permalink
Create build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
MisterTechnik authored Nov 14, 2024
1 parent 0746490 commit caa5c42
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Build and deploy

on:
push:
branches:
- master

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
cache: gradle

#- name: Setup Android SDK
# uses: android-actions/setup-android@v3

- name: Build SampleApplication
run: |
chmod +x ./gradlew
./gradlew --no-daemon build connectedCheck
- name: Archive production artifacts
uses: actions/upload-artifact@v4
with:
name: my-artifact
path: |
./app/build/outputs/apk/debug/app-debug.apk
overwrite: true

0 comments on commit caa5c42

Please sign in to comment.