Relative Content

Tag Archive for mavengithub-actions

Workflow that selectively publishes artifacts based on labels

I want to publish Maven artifacts to GitHub Packages but I have more than one module in my repository and at a time not all of them will have any publishable changes. I find using labels to be pretty easy, so I used the following workflow when I had only one artifact to be published and it works fine:

Workflow that selectively publishes artifacts based on labels

I want to publish Maven artifacts to GitHub Packages but I have more than one module in my repository and at a time not all of them will have any publishable changes. I find using labels to be pretty easy, so I used the following workflow when I had only one artifact to be published and it works fine: