mirror of
https://github.com/gradle/actions.git
synced 2025-11-26 17:09:10 +08:00
Add initial composite actions with smoke tests
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.
This commit is contained in:
29
.github/workflows/dependency-submission.yml
vendored
Normal file
29
.github/workflows/dependency-submission.yml
vendored
Normal file
@@ -0,0 +1,29 @@
|
||||
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
|
||||
Reference in New Issue
Block a user