Skip to content

Commit

Permalink
move submission to own workflow as a skipped job irritates
Browse files Browse the repository at this point in the history
  • Loading branch information
robstoll committed Oct 29, 2024
1 parent 8f6134f commit 298d7ef
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 12 deletions.
12 changes: 0 additions & 12 deletions .github/workflows/build-ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,3 @@ jobs:
env:
JAVA_VERSION: ${{ matrix.java_version }}
run: ./gradlew build -x allDetekt -x detekt

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
19 changes: 19 additions & 0 deletions .github/workflows/submit-dependencies.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: "Submit Gradle Dependencies"
on:
push:
branches:
- 'main'

jobs:
dependency-submission:
name: "submit gradle dependencies"
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

0 comments on commit 298d7ef

Please sign in to comment.