You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
989 B
YAML
39 lines
989 B
YAML
name: Dependencies
|
|
on:
|
|
push:
|
|
branches:
|
|
- master # run the action on your projects default branch
|
|
pull_request:
|
|
branches:
|
|
- master # run the action on your projects default branch
|
|
|
|
jobs:
|
|
build:
|
|
name: Dependencies
|
|
runs-on: ubuntu-latest
|
|
permissions: # The Dependency Submission API requires write permission
|
|
contents: write
|
|
steps:
|
|
- name: 'Checkout Repository'
|
|
uses: actions/checkout@v3
|
|
|
|
- name: Set up JDK 19
|
|
uses: actions/setup-java@v3
|
|
with:
|
|
java-version: 19
|
|
distribution: 'temurin'
|
|
|
|
- name: Setup Android SDK
|
|
uses: android-actions/setup-android@v2
|
|
|
|
- name: Setup Gradle
|
|
uses: gradle/gradle-build-action@v2
|
|
|
|
- name: Change wrapper permissions
|
|
run: chmod +x ./gradlew
|
|
|
|
- name: Run snapshot action
|
|
uses: mikepenz/gradle-dependency-submission@v1
|
|
with:
|
|
gradle-project-path: "."
|
|
gradle-build-module: ":app" |