Skip to content

Latest commit

 

History

History
41 lines (26 loc) · 1.54 KB

README.md

File metadata and controls

41 lines (26 loc) · 1.54 KB

sample-gradle-package

sampling publish gradle package on github

General documentation

Creating tokens and configuring secrets

publishing workflow

in order to create a package into the registry, there is a github action to call ./gradlew publish.

simply git tag <version>, push the tag and the workflow will kick in.

The publish command can be called directly from dev environment, just provide the needed variables:

GITHUB_ACTOR=<your github username>
GITHUB_TOKEN=<your personal access token>
GIT_TAG=<the desired tag>

except for GIT_TAG, those values are provided by github actions environment.

using the package

see this project

further enhancements

add a release in the github page containing the artifacts present on github package registry