Skip to content

Commit

Permalink
add: github action ci build & dependabot
Browse files Browse the repository at this point in the history
  • Loading branch information
muedsa committed Mar 19, 2024
1 parent 5abb70c commit 939e927
Show file tree
Hide file tree
Showing 2 changed files with 56 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
version: 2
registries:
maven-google:
type: maven-repository
url: https://maven.google.com
username: ""
password: ""
maven-center:
type: maven-repository
url: https://repo.maven.apache.org/maven2/
username: ""
password: ""
updates:
- package-ecosystem: "gradle"
directory: "/"
registries:
- maven-center
- maven-google

schedule:
interval: "daily"

- package-ecosystem: "github-actions"
directory: ".github/workflows"
schedule:
interval: "daily"
30 changes: 30 additions & 0 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Android CI

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
cache: gradle
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew :app:assembleDebug :app:assembleRelease
- name: Upload a Build Artifact
if: success()
uses: actions/[email protected]
with:
name: build-artifact
path: |
./**/*.apk

0 comments on commit 939e927

Please sign in to comment.