Skip to content

Commit 9484183

Browse files
authored
Use gradle action directly
1 parent ccd147d commit 9484183

File tree

1 file changed

+19
-6
lines changed

1 file changed

+19
-6
lines changed

.github/workflows/repository-maintenance.yml

Lines changed: 19 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,25 @@ name: Repository Maintenance
22

33
on:
44
push:
5+
branches: [ 'main' ]
56
workflow_dispatch:
67

78
jobs:
8-
maintenance_workflow:
9-
uses: getyourguide/java-actions/.github/workflows/[email protected]
10-
name: Maintenance
11-
secrets:
12-
CODEARTIFACT_AUTH_TOKEN: ${{ secrets.CODEARTIFACT_AUTH_TOKEN }}
13-
9+
dependency-submission:
10+
name: Dependency Submission
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Checkout sources
14+
uses: actions/[email protected]
15+
- uses: actions/[email protected]
16+
name: Setup Java
17+
with:
18+
distribution: temurin
19+
java-version: 17
20+
- name: Generate and submit dependency graph
21+
uses: gradle/actions/[email protected]
22+
with:
23+
gradle-version: wrapper
24+
dependency-graph: generate-and-submit
25+
# Include only relevant configurations
26+
dependency-graph-include-configurations: '(implementation|api|compileClasspath|runtimeClasspath)'

0 commit comments

Comments
 (0)