sync: fix configuration #114
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
# DO NOT EDIT: this file is automatically synced from the template repository | |
# in https://github.com/Liber-UFPE/project-starter. | |
name: Main | |
# yamllint disable rule:truthy | |
on: | |
push: | |
branches: [ "main" ] | |
release: | |
types: [ "created", "published" ] | |
# yamllint enable rule:truthy | |
env: | |
GRADLE_OPTS: > | |
-Dorg.gradle.console=plain | |
-Dorg.gradle.caching=true | |
-Dsonar.gradle.skipCompile=true | |
-Dorg.gradle.jvmargs="-Xmx2g -XX:MaxMetaspaceSize=512m"' | |
permissions: | |
contents: write | |
jobs: | |
gh-dependency-graph: | |
name: Generate and Submit Dependency Graph | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up JDK 21 | |
uses: actions/setup-java@v4 | |
with: | |
java-version: "21" | |
distribution: "temurin" | |
- name: Generate and submit dependency graph | |
uses: gradle/actions/dependency-submission@v3 |