mirror of
https://github.com/gradle/gradle-build-action.git
synced 2024-12-25 16:06:18 +08:00
Test dist download on CI
This commit is contained in:
parent
43efc20423
commit
2bf5eec3b6
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…
x
Reference in New Issue
Block a user