Skip to content

Merge pull request #29 from Triumers/user #69

Merge pull request #29 from Triumers/user

Merge pull request #29 from Triumers/user #69

Workflow file for this run

name: Java CI with Gradle
on:
push:
branches: [ "develop" ]
pull_request:
branches: [ "develop" ]
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@v4
- name: Set up JDK
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'corretto'
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3
- name: Build with Gradle
run: ./gradlew build
env:
DB_URL: DB URL = ${{ secrets.DB_URL }}
DB_USER_NAME: USER = ${{ secrets.DB_USER_NAME }}
DB_PASSWORD: PSW = ${{ secrets.DB_PASSWORD }}
dependency-submission:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- name: Set up JDK
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'corretto'
cache: gradle
- name: Generate and submit dependency graph
uses: gradle/actions/dependency-submission@417ae3ccd767c252f5661f1ace9f835f9654f2b5 # v3.1.0