Skip to content

Commit

Permalink
Add link to scheduler example
Browse files Browse the repository at this point in the history
  • Loading branch information
artembilan committed Nov 17, 2023
1 parent 3231d7b commit 070fd9e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,10 @@ For example, the mentioned `dist` value is a Gradle task in the project.
Can be any Maven goal or other command line arguments.

In the end you just need to go to the `Actions` tab on your project, press `Run workflow` on your release workflow and choose a branch from drop-down list to release currently scheduled Milestone against.
Such a release workflow can also be scheduled (`cron`, fo example) against branches matrix:
Such a release workflow can also be scheduled (`cron`, fo example) against branches matrix.

#### Scheduler workflow example:
https://github.com/artembilan/spring-messaging-build-tools/blob/3231d7b9b4fcd05afff3db32d34aa37565535ccb/samples/schedule-releases.yml#L1-L19

> **Warning**
> The [spring-artifactory-release.yml](.github/workflows/spring-artifactory-release.yml) already uses 3 of 4 levels of nested reusable workflows.
Expand All @@ -107,4 +109,4 @@ Gradle projects must not manage `com.jfrog.artifactory` plugin anymore: the `jf
In addition, the [spring-artifactory-gradle-snapshot.yml](.github/workflows/spring-artifactory-gradle-snapshot.yml) and [spring-artifactory-gradle-release-staging.yml](.github/workflows/spring-artifactory-gradle-release-staging.yml) add `spring-project-init.gradle` script to provide an `artifactory` plugin settings for artifacts publications.
This script also adds a `nextDevelopmentVersion` task which is used when release has been staged and job is ready to push `Next development version` commit.

See more information in the [Reusing Workflows](https://docs.github.com/en/actions/using-workflows/reusing-workflows).
See more information in the [Reusing Workflows](https://docs.github.com/en/actions/using-workflows/reusing-workflows).

0 comments on commit 070fd9e

Please sign in to comment.