Skip to content

Commit

Permalink
dependency submission
Browse files Browse the repository at this point in the history
  • Loading branch information
larsgrefer committed Feb 26, 2025
1 parent 63b7756 commit be806d5
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 7 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/dependency-submission.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Dependency Submission

on:
push:
branches: [ 'main' ]

permissions:
contents: write

jobs:
dependency-submission:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 17

- name: Generate and submit dependency graph
uses: gradle/actions/dependency-submission@v4
8 changes: 1 addition & 7 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,9 @@ jobs:
distribution: 'temurin'

- name: Setup Gradle
uses: gradle/gradle-build-action@v3
uses: gradle/actions/setup-gradle@v3

- run: ./gradlew -V assemble -s
- run: ./gradlew -V uploadGithubDependenciesSnapshot -s
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- run: ./gradlew -V check -s
- name: Upload Coverage Reports
run: |
Expand All @@ -42,8 +39,6 @@ jobs:
build-examples:
name: Build example projects
runs-on: ubuntu-latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
strategy:
fail-fast: false
matrix:
Expand All @@ -64,5 +59,4 @@ jobs:
uses: gradle/gradle-build-action@v3

- run: ./gradlew -V assemble -s
- run: ./gradlew -V uploadGithubDependenciesSnapshot -s
- run: ./gradlew -V check -s

0 comments on commit be806d5

Please sign in to comment.