Skip to content

Commit

Permalink
Update gradle.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
MocStepan authored Apr 1, 2024
1 parent 7b75b86 commit fba1467
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,29 +13,31 @@ jobs:
contents: read
steps:
- uses: actions/checkout@v4
- name: Set up JDK 17

- name: Set up JDK 17 for backend
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
- name: Set execute permissions for gradlew

- name: Set execute permissions for backend gradlew
run: chmod +x ./backend/gradlew
- name: Setup Gradle
uses: gradle/actions/setup-gradle@417ae3ccd767c252f5661f1ace9f835f9654f2b5 # v3.1.0
- name: Build with Gradle Wrapper
run: ./backend/gradlew build

- name: Build backend with Gradle Wrapper
run: ./backend/gradlew build

dependency-submission:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- name: Set up JDK 17

- name: Set up JDK 17 for backend
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'

- name: Generate and submit dependency graph
uses: gradle/actions/dependency-submission@417ae3ccd767c252f5661f1ace9f835f9654f2b5 # v3.1.0

0 comments on commit fba1467

Please sign in to comment.