Use Gradle 7.6 in unit tests

This commit is contained in:
Daz DeBoer 2022-12-07 17:30:05 +13:00
parent 6f59210bbe
commit d9106fb21d
No known key found for this signature in database
GPG Key ID: DD6B9F0B06683D5D
2 changed files with 2 additions and 2 deletions

View File

@ -22,7 +22,7 @@ jobs:
- name: Configure Gradle as default for unit test
uses: ./
with:
gradle-version: 7.5.1
gradle-version: 7.6
- name: Run tests
run: |
npm install

View File

@ -49,7 +49,7 @@ test('will cleanup unused gradle versions', async () => {
const gradle733 = path.resolve(gradleUserHome, "caches/7.3.3")
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(wrapper733)).toBe(true)