Skip to content

Commit

Permalink
Make gradlew executable in repo and fix JDK version
Browse files Browse the repository at this point in the history
  • Loading branch information
Max K committed Feb 11, 2024
1 parent d12086e commit c5796e7
Show file tree
Hide file tree
Showing 2 changed files with 196 additions and 191 deletions.
17 changes: 11 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ on:
- main
- '*' # Remove before merge

env:
JDK_VERSION: '17'
JDK_DISTRIBUTION: 'temurin'

permissions:
pull-requests: write

Expand All @@ -22,17 +26,15 @@ jobs:
- name: Setup JDK
uses: actions/[email protected]
with:
java-version: '17'
distribution: 'temurin'
java-version: $JDK_VERSION
distribution: $JDK_DISTRIBUTION
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3
with:
add-job-summary-as-pr-comment: always
build-scan-publish: true
build-scan-terms-of-service-url: "https://gradle.com/terms-of-service"
build-scan-terms-of-service-agree: "yes"
- name: Make gradlew executable
run: chmod +x gradlew
- name: Build app
run: ./gradlew assemble
- name: Save debug apk
Expand All @@ -53,7 +55,10 @@ jobs:
steps:
- name: Checkout
uses: actions/[email protected]
- name: Make gradlew executable
run: chmod +x gradlew
- name: Setup JDK
uses: actions/[email protected]
with:
java-version: $JDK_VERSION
distribution: $JDK_DISTRIBUTION
- name: Generate and submit dependency graph
uses: gradle/actions/dependency-submission@v3
Loading

0 comments on commit c5796e7

Please sign in to comment.