mirror of
https://github.com/gradle/gradle-build-action.git
synced 2025-02-22 12:00:58 -05:00
- Remove the 'gradle --stop' step from the prod workflow. We either need to stop all instances started, or rely on GitHub to clean up processes on completion. - Remove configuration-cache and dependencies-cache from basic tests. We will later need to add tests invocations specific for these features.
33 lines
812 B
YAML
33 lines
812 B
YAML
# make sure the action works on a clean machine without building
|
|
name: prod
|
|
|
|
on:
|
|
pull_request:
|
|
push:
|
|
|
|
jobs:
|
|
check:
|
|
strategy:
|
|
matrix:
|
|
os: [ubuntu-latest, macos-latest, windows-latest]
|
|
runs-on: ${{ matrix.os }}
|
|
steps:
|
|
- name: Checkout sources
|
|
uses: actions/checkout@v2
|
|
- name: Test use Gradle wrapper
|
|
uses: ./
|
|
with:
|
|
build-root-directory: __tests__/data/basic
|
|
arguments: test
|
|
- name: Test custom wrapper location
|
|
uses: ./
|
|
with:
|
|
build-root-directory: __tests__/data/basic
|
|
wrapper-directory: __tests__/data/basic
|
|
arguments: test
|
|
- name: Test use defined Gradle version
|
|
uses: ./
|
|
with:
|
|
gradle-version: rc
|
|
build-root-directory: __tests__/data/basic
|
|
arguments: test
|