Skip to content

Commit

Permalink
move dependency submission to ci workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
sargunv committed Dec 7, 2024
1 parent 28b80b4 commit 1d0e1b7
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 25 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,24 @@ jobs:
ORG_GRADLE_PROJECT_githubToken: "${{ secrets.GITHUB_TOKEN }}"
ORG_GRADLE_PROJECT_githubUser: "${{ github.actor }}"

dependency-submission:
if: "${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}"
runs-on: "ubuntu-latest"
permissions:
contents: "write"
steps:
- uses: "actions/checkout@v4"
- uses: "actions/setup-java@v4"
with:
distribution: "temurin"
java-version: 21
- uses: "gradle/actions/dependency-submission@v4"
with:
build-scan-publish: true
build-scan-terms-of-use-url: "https://gradle.com/help/legal-terms-of-use"
build-scan-terms-of-use-agree: "yes"
- uses: "advanced-security/[email protected]"

all-good:
needs:
- "check-format"
Expand Down
25 changes: 0 additions & 25 deletions .github/workflows/dependency-submission.yml

This file was deleted.

0 comments on commit 1d0e1b7

Please sign in to comment.