https://github.com/quarkusio/monitor-artifact-publication-action
Monitor artifact publication to Maven Central
https://github.com/quarkusio/monitor-artifact-publication-action
Last synced: 4 months ago
JSON representation
Monitor artifact publication to Maven Central
- Host: GitHub
- URL: https://github.com/quarkusio/monitor-artifact-publication-action
- Owner: quarkusio
- License: apache-2.0
- Created: 2023-12-14T08:57:56.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-07-18T00:10:24.000Z (11 months ago)
- Last Synced: 2025-02-04T16:48:16.971Z (4 months ago)
- Language: Java
- Size: 96.7 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Monitor artifact publication
> Monitor artifact publication to Maven Central
This action is used to monitor the publication of a version of an artifact to Maven Central.
Once the artifact is released, it (optionally) posts a comment to the issue provided as an input.It is developed in Quarkus using the [Quarkus GitHub Action](https://github.com/quarkiverse/quarkus-github-action/) extension.
:warning: This action is automatically published when the `main` branch is pushed.
## The default action
### Example
```yaml
- name: Monitor artifact publication
uses: quarkusio/monitor-artifact-publication-action@main
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
group-id: io.quarkus
artifact-id: quarkus-core
version: 3.6.4
initial-delay: 15
poll-delay: 5
poll-iterations: 4
post-delay: 5
# Optional (used in Quarkus release process to notify on the release issue)
issue-number: 114
message-if-published: Artifact has been published
message-if-not-published: Artifact had not been published at the end of the delay
```### Inputs
| Name | Description |
|---|---|
| `group-id` | Group id of the artifact |
| `artifact-id` | Artifact id of the artifact |
| `version` | Version of the artifact |
| `initial-delay` | Initial delay in minutes before testing for the first time (use 0 to disable) |
| `poll-delay` | Poll delay in minutes |
| `poll-iterations` | Number of polling iterations |
| `post-delay` | Delay in minutes to wait after this particular artifact is published (use 0 to disable) |
| `issue-number` (optional) | Issue number to post to |
| `message-if-published` (optional) | Message to post if artifact is published |
| `message-if-not-published` (optional) | Message to post if artifact is not published |### Outputs
| Name | Description |
|---|---|
| `published` | If the artifact has been published at the end of the action |