Share code in actions

Feature: Share code/modules in multiple actions


We are managing multiple actions. Some part of the code, eg. utils, should be able to be separated and reused.


Given Action caching is now available, we create a ManagementClientBuilder as a wrapper with access token cached and reused to assemble ManagementClient. And then it gets used in different actions.

Hey @di1 thanks for the feedback! This comes up every so often - Let’s hope it gets upvotes from others and don’t forget to upvote it yourself :slight_smile:

FWIW you could publish any logic that you’d like to share between Actions as an NPM module and pull it in that way.


1 Like