mirror of
https://github.com/gradle/actions.git
synced 2025-08-18 06:31:28 +08:00
These actions simply delegate to `gradle/gradle-build-action` - `setup-gradle`: As `gradle-build-action` without the execution capability. - `dependency-submission`: Submits a dependency graph for the project.
30 lines
804 B
YAML
30 lines
804 B
YAML
name: Smoke test dependency-submission
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
push:
|
|
|
|
permissions:
|
|
contents: write
|
|
|
|
env:
|
|
GRADLE_BUILD_ACTION_CACHE_DEBUG_ENABLED: true
|
|
|
|
jobs:
|
|
test-dependency-submission:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout sources
|
|
uses: actions/checkout@v4
|
|
- name: Checkout gradle-build-action for samples
|
|
uses: actions/checkout@v4
|
|
with:
|
|
repository: gradle/gradle-build-action
|
|
path: gradle-build-action
|
|
- name: Generate and submit dependencies
|
|
uses: ./dependency-submission
|
|
with:
|
|
build-root-directory: gradle-build-action/.github/workflow-samples/groovy-dsl
|
|
env:
|
|
GITHUB_DEPENDENCY_GRAPH_REF: 'refs/tags/v0.0.1' # Use a different ref to avoid updating the real dependency graph for the repository
|