Skip to content

Commit

Permalink
Add workflow to submit dependency graph
Browse files Browse the repository at this point in the history
  • Loading branch information
bigdaz authored and etiennestuder committed Jul 12, 2023
1 parent be9b4e6 commit a8c6b6a
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/submit-github-dependency-graph.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Submit GitHub Dependency Graph
on:
workflow_dispatch:
push:
branches:
- main

permissions:
contents: write

jobs:
generate-and-submit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
distribution: temurin
java-version: 8
- name: Set up Gradle
uses: gradle/gradle-build-action@v2
with:
dependency-graph: generate-and-submit
- name: Run gradle to resolve dependencies
run: ./gradlew :GitHubDependencyGraphPlugin_generateDependencyGraph
env:
GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GE_SOLUTIONS_ACCESS_TOKEN }}

0 comments on commit a8c6b6a

Please sign in to comment.