Skip to content

Collections of workflow used by other lepinoid repositories

Notifications You must be signed in to change notification settings

Lepinoid/WorkflowCollections

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 

Repository files navigation

WorkflowCollections

Collections of workflow used by other lepinoid repositories.

Workflows

Simple build task

Lepinoid/WorkflowCollections/.github/workflows/build.yml@main

Inputs

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

Inputs

name default
java_version 17
repo Lepinoid/maven-repo
token_user lepinoid-project
publish_commit_user_email lepinoid@gmail.com
publish_commit_user_name lepinoid-project

Secrets

  • 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

Example

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

About

Collections of workflow used by other lepinoid repositories

Resources

Stars

Watchers

Forks