Skip to content

Commit

Permalink
Revert "Test runtimeClasspath dependencies"
Browse files Browse the repository at this point in the history
This reverts commit 3de89a5.
  • Loading branch information
Pil0tXia committed Apr 24, 2024
1 parent 3de89a5 commit 18751cc
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 9 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,6 @@ on:
pull_request:
branches: [ '**' ]

permissions:
contents: read

jobs:
build:
name: Build
Expand All @@ -51,9 +48,7 @@ jobs:
make -C ./eventmesh-sdks/eventmesh-sdk-c
- name: Setup Gradle
uses: gradle/gradle-build-action@v2
with:
dependency-graph: generate
uses: gradle/actions/setup-gradle@v3

- name: Set up JDK 11
uses: actions/setup-java@v4
Expand All @@ -76,7 +71,6 @@ jobs:
- name: Build
run: ./gradlew clean build dist jacocoTestReport -x spotlessJava -x generateGrammarSource --parallel --daemon
env:
DEPENDENCY_GRAPH_INCLUDE_CONFIGURATIONS: runtimeClasspath
GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GE_ACCESS_TOKEN }}

- name: Install plugin
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/code-scanning.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ jobs:
if: matrix.language == 'java'
uses: gradle/gradle-build-action@v2
with:
dependency-graph: generate
cache-disabled: true

# https://github.com/gradle/gradle-build-action/tree/release/v2?tab=readme-ov-file#filtering-which-gradle-configurations-contribute-to-the-dependency-graph
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/dependency-graph.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@
#

# https://github.com/gradle/actions/blob/main/docs/dependency-submission.md#usage-with-pull-requests-from-public-forked-repositories
# 'Pre Submit dependency graph' in the 'Continuous Integration' workflow and 'Post Submit dependency graph' in the 'License Check' workflow
# 'Pre Submit dependency graph' in the 'Code Scanning' workflow and 'Post Submit dependency graph' in the 'License Check' workflow
name: Submit dependency graph

on:
workflow_run:
workflows: [ 'Continuous Integration' ]
workflows: [ 'Code Scanning' ]
types: [ completed ]

permissions:
Expand Down

0 comments on commit 18751cc

Please sign in to comment.