-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (32 loc) · 901 Bytes
/
main.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
---
# 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