Collections of workflow used by other lepinoid repositories.
Simple build task
Lepinoid/WorkflowCollections/.github/workflows/build.yml@main
| name | default |
|---|---|
| java_version | 17 |
| gradle_args | build |
| upload_artifacts | false |
| upload_folder | build/libs/ |
Publishing to maven-repo task. Requires collaborator token and GPG key.
Lepinoid/WorkflowCollections/.github/workflows/publish_to_maven-repo.yml@main
| name | default |
|---|---|
| java_version | 17 |
| repo | Lepinoid/maven-repo |
| token_user | lepinoid-project |
| publish_commit_user_email | [email protected] |
| publish_commit_user_name | lepinoid-project |
- TOKEN(This means user token. Not
secrets.github_token) - GPG_PRIVATE_KEY
- GPG_PASSPHRASE
Validates pull request title
Lepinoid/WorkflowCollections/.github/workflows/validate-pr.yml@main
name: Publish
on:
push:
branches:
- main
jobs:
build:
uses: Lepinoid/WorkflowCollections/.github/workflows/publish_to_maven-repo.yml@main
with:
java_version: 11
secrets: inherit