mirror of
https://github.com/gradle/gradle-build-action.git
synced 2024-11-26 02:52:09 +00:00
Use Gradle 7.6 in unit tests
This commit is contained in:
parent
6f59210bbe
commit
d9106fb21d
2 changed files with 2 additions and 2 deletions
2
.github/workflows/ci-quick-check.yml
vendored
2
.github/workflows/ci-quick-check.yml
vendored
|
@ -22,7 +22,7 @@ jobs:
|
||||||
- name: Configure Gradle as default for unit test
|
- name: Configure Gradle as default for unit test
|
||||||
uses: ./
|
uses: ./
|
||||||
with:
|
with:
|
||||||
gradle-version: 7.5.1
|
gradle-version: 7.6
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: |
|
run: |
|
||||||
npm install
|
npm install
|
||||||
|
|
|
@ -49,7 +49,7 @@ test('will cleanup unused gradle versions', async () => {
|
||||||
|
|
||||||
const gradle733 = path.resolve(gradleUserHome, "caches/7.3.3")
|
const gradle733 = path.resolve(gradleUserHome, "caches/7.3.3")
|
||||||
const wrapper733 = path.resolve(gradleUserHome, "wrapper/dists/gradle-7.3.3-bin")
|
const wrapper733 = path.resolve(gradleUserHome, "wrapper/dists/gradle-7.3.3-bin")
|
||||||
const gradleCurrent = path.resolve(gradleUserHome, "caches/7.5.1")
|
const gradleCurrent = path.resolve(gradleUserHome, "caches/7.6")
|
||||||
|
|
||||||
expect(fs.existsSync(gradle733)).toBe(true)
|
expect(fs.existsSync(gradle733)).toBe(true)
|
||||||
expect(fs.existsSync(wrapper733)).toBe(true)
|
expect(fs.existsSync(wrapper733)).toBe(true)
|
||||||
|
|
Loading…
Reference in a new issue