Skip to content

Commit

Permalink
Merge pull request #1624 from Automattic/issue/submit_gradle_dependen…
Browse files Browse the repository at this point in the history
…cies_to_gh_graph

ci: submit Gradle dependencies to GH dependency graph
wzieba authored Jan 18, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
2 parents d5d4e7b + 2dda424 commit 9d3a2b4
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/submit-gradle-dependencies.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Submit dependencies to GitHub Dependency Graph
on:
push:
branches:
- trunk
- release/*
permissions:
contents: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '8'
- name: Setup Gradle to generate and submit dependency graphs
uses: gradle/gradle-build-action@v2
with:
dependency-graph: generate-and-submit
- name: Generate the dependency graph which will be submitted post-job
run: ./gradlew :Simplenote:dependencies :Wear:dependencies

0 comments on commit 9d3a2b4

Please sign in to comment.