actions/.github/workflows/setup-gradle.yml
daz 4b660dc33e
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.
2024-01-16 09:49:44 -07:00

25 lines
623 B
YAML

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