GitHub Actions Maven Build Failing with “relative path” Error After Dynamic Version Update
I’m working on a project where we use GitHub Actions to automate our Maven build process. We dynamically set the version number in the format projectversion-runID-runNumber, like 8.1.0-9761957358-18. We include that runID in the build version so the deploy workflow can parse it out and download artifacts from the build workflow.
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: