Skip to content

Commit

Permalink
Attempt to fix 'No dependency graph files found to submit'
Browse files Browse the repository at this point in the history
  • Loading branch information
Pil0tXia committed Apr 23, 2024
1 parent 2f7c34a commit df3532d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/code-scanning.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,12 @@ jobs:
# queries: ./path/to/local/query, your-org/your-repo/queries@main
languages: ${{ matrix.language }}

# Pre Submit dependency graph
- name: Setup Gradle
if: matrix.language == 'java'
uses: gradle/actions/setup-gradle@v3
with:
dependency-graph: generate-and-upload

- name: Set up JDK 11
if: matrix.language == 'java'
Expand All @@ -62,13 +65,6 @@ jobs:
distribution: 'zulu'
java-version: 11

# Pre Submit dependency graph
- name: Generate and save dependency graph
if: matrix.language == 'java'
uses: gradle/actions/dependency-submission@v3
with:
dependency-graph: generate-and-upload

# https://docs.gradle.org/current/userguide/performance.html
- name: Build
if: matrix.language == 'java'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dependency-graph.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,6 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Download and submit dependency graph
uses: gradle/actions/dependency-submission@v3
uses: gradle/actions/setup-gradle@v3
with:
dependency-graph: download-and-submit # Download saved dependency-graph and submit

0 comments on commit df3532d

Please sign in to comment.