mirror of
https://github.com/gradle/gradle-build-action.git
synced 2024-11-22 08:11:07 -05:00
Test dist download on CI
This commit is contained in:
parent
43efc20423
commit
2bf5eec3b6
2 changed files with 14 additions and 2 deletions
8
.github/workflows/dev.yml
vendored
8
.github/workflows/dev.yml
vendored
|
@ -14,12 +14,18 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
npm install
|
npm install
|
||||||
npm run all
|
npm run all
|
||||||
- name: Test
|
- name: Test wrapper
|
||||||
uses: ./
|
uses: ./
|
||||||
with:
|
with:
|
||||||
wrapper-directory: __tests__/data/basic
|
wrapper-directory: __tests__/data/basic
|
||||||
build-root-directory: __tests__/data/basic
|
build-root-directory: __tests__/data/basic
|
||||||
arguments: help
|
arguments: help
|
||||||
|
- name: Test dist download
|
||||||
|
uses: ./
|
||||||
|
with:
|
||||||
|
gradle-version: 6.5
|
||||||
|
build-root-directory: __tests__/data/basic
|
||||||
|
arguments: help
|
||||||
- name: Check for uncommitted changes
|
- name: Check for uncommitted changes
|
||||||
# Ensure no changes, but ignore node_modules dir since dev/fresh ci deps installed.
|
# Ensure no changes, but ignore node_modules dir since dev/fresh ci deps installed.
|
||||||
run: |
|
run: |
|
||||||
|
|
8
.github/workflows/prod.yml
vendored
8
.github/workflows/prod.yml
vendored
|
@ -13,12 +13,18 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout sources
|
- name: Checkout sources
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
- name: Test
|
- name: Test wrapper
|
||||||
uses: ./
|
uses: ./
|
||||||
with:
|
with:
|
||||||
wrapper-directory: __tests__/data/basic
|
wrapper-directory: __tests__/data/basic
|
||||||
build-root-directory: __tests__/data/basic
|
build-root-directory: __tests__/data/basic
|
||||||
arguments: help
|
arguments: help
|
||||||
|
- name: Test dist download
|
||||||
|
uses: ./
|
||||||
|
with:
|
||||||
|
gradle-version: 6.5
|
||||||
|
build-root-directory: __tests__/data/basic
|
||||||
|
arguments: help
|
||||||
- name: Check for uncommitted changes
|
- name: Check for uncommitted changes
|
||||||
# Ensure no changes, but ignore node_modules dir since dev/fresh ci deps installed.
|
# Ensure no changes, but ignore node_modules dir since dev/fresh ci deps installed.
|
||||||
run: |
|
run: |
|
||||||
|
|
Loading…
Reference in a new issue