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:
25
.github/workflows/setup-gradle.yml
vendored
Normal file
25
.github/workflows/setup-gradle.yml
vendored
Normal file
@@ -0,0 +1,25 @@
|
||||
name: Smoke test setup-gradle
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
push:
|
||||
|
||||
env:
|
||||
GRADLE_BUILD_ACTION_CACHE_DEBUG_ENABLED: true
|
||||
|
||||
jobs:
|
||||
test-setup-gradle:
|
||||
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: Setup Gradle
|
||||
uses: ./setup-gradle
|
||||
- name: Build groovy-dsl project
|
||||
working-directory: gradle-build-action/.github/workflow-samples/groovy-dsl
|
||||
run: ./gradlew assemble
|
||||
Reference in New Issue
Block a user