Trying to cache

Gustavo de Oliveira Silva's Avatar

Gustavo de Oliveira Silva

18 Apr, 2022 04:00 PM

I have a java project with gradlew and I want to cache the file that gradle download, to avoid downloading each build. But it seems incorrect..
Project: https://ci.appveyor.com/project/DIG-/java-logger

  1. Support Staff 1 Posted by Feodor Fitsner on 18 Apr, 2022 07:30 PM

    Feodor Fitsner's Avatar

    Try replacing ~ with $HOME:

    cache:
      - $HOME/.gradle/ -> gradle/wrapper/gradle-wrapper.properties
    
  2. 2 Posted by Gustavo de Oliv... on 18 Apr, 2022 09:20 PM

    Gustavo de Oliveira Silva's Avatar

    It worked! Thanks.

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Already uploaded files

  • appveyor.yml 709 Bytes

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac