Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added Cache gradle functionality #69

Merged
merged 2 commits into from Jun 25, 2020

Conversation

somenath1435
Copy link
Contributor

This will add the functionality to cache gradle which will significantly speed up the build process.
The first time,it will download the files and cache them and from second time onwards, it will use the cache itself.

It is part of ANDAUTH-94

Copy link
Collaborator

@InsanusMokrassar InsanusMokrassar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In this case you should add clean task before the launch. So, full test launch will looks like:

./gradlew clean build

And then:

./gradlew test --stacktrace

(it must be in file .github/workflows/build-test.yml#42)

@InsanusMokrassar InsanusMokrassar merged commit bc165f8 into xwiki-contrib:master Jun 25, 2020
- name: Make gradlew executable
run: chmod +x ./gradlew

- name: Build project
run: ./gradlew build
run: ./gradlew clean build
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do you need the "clean" since each execution should do a clean checkout, no?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants