You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@rocketmq.apache.org by GitBox <gi...@apache.org> on 2022/08/24 07:59:39 UTC

[GitHub] [rocketmq] aaron-ai opened a new issue, #4879: Enable github action caching for build acceleration.

aaron-ai opened a new issue, #4879:
URL: https://github.com/apache/rocketmq/issues/4879

   Enable github action caching for build acceleration and avoid maven repo connection timeout.
   
   ![image](https://user-images.githubusercontent.com/19537356/186363714-b923b2c4-b01e-4c03-b9cb-796efb537beb.png)
   
   related link: https://github.blog/changelog/2021-08-30-github-actions-setup-java-now-supports-dependency-caching/


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@rocketmq.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [rocketmq] aaron-ai commented on issue #4879: Enable github action caching for build acceleration.

Posted by GitBox <gi...@apache.org>.
aaron-ai commented on issue #4879:
URL: https://github.com/apache/rocketmq/issues/4879#issuecomment-1225506303

   > What if one of the dependencies is of SNAPSHOT? Will the cache get updated complying with Maven practice?
   
   Nice question!
   
   Cache of java-setup aims to make caching to work out of box without manual configuration. The format of the used cache key is `setup-java-${{ platform }}-${{ packageManager }}-${{ fileHash }}`. So the default configuration could not make sure the latest snapshot jar is downloaded. java-setup makes is possible to define the cache key by ourselves, but it seems could not to satisfy the needs you mentioned above easily.
   
   On the other side, could we assume that there should not be snapshot in master/develop branch?
   
   More details:
   1. https://github.com/actions/setup-java#caching-packages-dependencies
   2. https://github.com/actions/setup-java/issues/255


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [rocketmq] lizhanhui commented on issue #4879: Enable github action caching for build acceleration.

Posted by GitBox <gi...@apache.org>.
lizhanhui commented on issue #4879:
URL: https://github.com/apache/rocketmq/issues/4879#issuecomment-1225641448

   > On the other side, could we assume that there should not be snapshot in master/develop branch?
   
   Okay... If there is no better alternatives, I am fine with the current solution. 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [rocketmq] duhenglucky closed issue #4879: Enable github action caching for build acceleration.

Posted by GitBox <gi...@apache.org>.
duhenglucky closed issue #4879: Enable github action caching for build acceleration.
URL: https://github.com/apache/rocketmq/issues/4879


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [rocketmq] lizhanhui commented on issue #4879: Enable github action caching for build acceleration.

Posted by GitBox <gi...@apache.org>.
lizhanhui commented on issue #4879:
URL: https://github.com/apache/rocketmq/issues/4879#issuecomment-1225484161

   What if one of the dependencies is of SNAPSHOT? Will the cache get updated complying with Maven practice?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org