Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
NotificationsYou must be signed in to change notification settings

playframework/.github

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Twitter FollowDiscordGitHub DiscussionsStackOverflowYouTubeTwitch StatusOpenCollective

Repository sizeScala Steward badgeMergify Status

This repository contains a few configurations of GitHub features. For example aReusing workflows orStarter workflows asGitHub Actions features.

GitHub Actions Reusing Workflows

Universal CMD task

This workflow is used for running any CMD task on matrix of Java versions and other dimensions.

Every matrix dimension will be access by environment variable likeMATRIX_$(uppercase(dimension_name)) (for exampleMATRIX_JAVA).

Path:.github/workflows/cmd.yml

Image:Ubuntu 20.04

Uses actions:

Parameters:

ParameterSinceRequiredDefaultDescription
ref2.0.0''Branch, tag or SHA for checkout
cmd2.0.0-Running command
java2.0.017AdoptJDK version (space/comma delimited list)
java-index3.3.1''URL to JVM index source file
scala2.0.0''Scala version (space/comma delimited list)
add-dimensions2.0.0''Other matrix dimensions (json object)
include2.0.0[]Matrix include's (json object array)
exclude2.0.0[]Matrix exclude's (json object array)
cache-key2.0.0''Key of custom cache
cache-path2.0.0''Path of custom cache
env2.0.0''Custom ENV vars
run-scheduled-in-forks3.1.1falseRun by schedule in fork
gradle-build-root3.3.0''Directory for Gradle builds
ignore-job-coursier-cache3.4.0trueignoreJob parameter for Coursier Cache
ignore-matrix-coursier-cache3.4.0trueignoreMatrix parameter for Coursier Cache
extra-coursier-cache-key3.4.0''extraKey parameter for Coursier Cache

How to use:

uses:playframework/.github/.github/workflows/cmd.yml@v3with:java:17, 21java-index:https://url/of/your/index.jsonscala:2.12.19, 2.13.13, 3.3.1add-dimensions:>-    {      "color": [ "red", "green"]    }cmd:sbt "-Dcustom_var=$CUSTOM_VAR" "-Dcolor=$MATRIX_COLOR" "-Djava=$MATRIX_JAVA" ++$MATRIX_SCALA testenv:|    CUSTOM_VAR=value

Publishing to Sonatype

This workflow is used for publishing snapshots artifacts toSonatype Snapshots repository or release artifacts toMaven Central.

⚠️ For using this workflow project must uses theCI Release plugin.

Path:.github/workflows/publish.yml

Image:Ubuntu 20.04

Uses actions:

Parameters:

ParameterSinceRequiredDefaultDescription
ref2.0.0''Branch, tag or SHA for checkout
java1.0.017AdoptJDK version
java-index3.3.1''URL to JVM index source file
cmd3.3.0sbt ci-releaseRunning command
gradle-build-root3.3.0''Directory for Gradle builds
ignore-job-coursier-cache3.4.0trueignoreJob parameter for Coursier Cache
extra-coursier-cache-key3.4.0''extraKey parameter for Coursier Cache

How to use:

uses:playframework/.github/.github/workflows/publish.yml@v3

Validate Binary Compatibility

This workflow is used for validate binary compatibility the current version.

⚠️ For using this workflow project must uses theSBT MiMa plugin.

Path:.github/workflows/binary-check.yml

Image:Ubuntu 20.04

Uses actions:

Parameters:

ParameterSinceRequiredDefaultDescription
ref2.0.0''Branch, tag or SHA for checkout
java1.0.017AdoptJDK version
java-index3.3.1''URL to JVM index source file
run-scheduled-in-forks3.1.1falseRun by schedule in fork
ignore-job-coursier-cache3.4.0trueignoreJob parameter for Coursier Cache
extra-coursier-cache-key3.4.0''extraKey parameter for Coursier Cache

How to use:

uses:playframework/.github/.github/workflows/binary-check.yml@v3

Validate Gradle Wrapper

This workflow is used to validate the checksums ofGradle Wrapper JAR files present in the source tree and fails if unknown Gradle Wrapper JAR files are found.

Path:.github/workflows/gradle-wrapper-validation.yml

Image:Ubuntu 20.04

Uses actions:

Parameters:

ParameterSinceRequiredDefaultDescription
ref3.3.0''Branch, tag or SHA for checkout

How to use:

uses:playframework/.github/.github/workflows/gradle-wrapper-validation.yml@v3

Mark Pull Request as Ready To Merge

This workflow is used for mark pull request as ready to merge andshould be last in the workflows chain.

⚠️ For using this workflow don't forget to configure theneeds (GA docs) attribute to make this workflow run last.

Path:.github/workflows/rtm.yml

Image:Ubuntu 20.04

No Parameters

How to use:

needs:# Should be latest  -"check-code-style"  -"..."  -"tests"uses:playframework/.github/.github/workflows/rtm.yml@v3

Generate documentation with Antora

This workflow is used for generate and optionally publish documentation withAntora.

Path:.github/workflows/antora.yml

Image:Ubuntu 20.04

Uses actions:

Parameters:

ParameterSinceRequiredDefaultDescription
path3.1.0./Path with docs
playbook3.1.0local-antora-playbook.ymlPlaybook file name
publish3.1.0falsePublish to GH Pages
run-scheduled-in-forks3.1.1falseRun by schedule in fork

How to use:

uses:playframework/.github/.github/workflows/antora.yml@v3

GitHub Actions Starter workflows

TODO

About

No description, website, or topics provided.

Resources

Code of conduct

Security policy

Stars

Watchers

Forks

Contributors7

Languages


[8]ページ先頭

©2009-2025 Movatter.jp