Skip to content

Commit

Permalink
workflow: github action android build & dependabot
Browse files Browse the repository at this point in the history
  • Loading branch information
muedsa committed Oct 17, 2024
1 parent a4b7143 commit 8b75e84
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/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Android Build

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 :api:assemble
- name: Upload a Build Artifact
if: success()
uses: actions/upload-artifact@v4.4.3
with:
name: build-artifact
path: |
./**/*.arr

0 comments on commit 8b75e84

Please sign in to comment.