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 28, 2024
1 parent c28e6af commit ab55d71
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 13 deletions.
13 changes: 0 additions & 13 deletions .github/workflows/quality-assurance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,16 +46,3 @@ jobs:

- name: "build using jdk ${{ matrix.java_version }}"
run: ./gradlew build

dependency-submission:
if: github.ref == 'refs/heads/main'
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 ab55d71

Please sign in to comment.