Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/meilcli/gradle-update-check-action
gradle maven new package version check action for GitHub Actions.
https://github.com/meilcli/gradle-update-check-action
actions github-actions gradle maven
Last synced: 4 days ago
JSON representation
gradle maven new package version check action for GitHub Actions.
- Host: GitHub
- URL: https://github.com/meilcli/gradle-update-check-action
- Owner: MeilCli
- License: mit
- Created: 2019-09-29T04:27:56.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2024-05-01T09:00:51.000Z (6 months ago)
- Last Synced: 2024-05-01T12:35:43.572Z (6 months ago)
- Topics: actions, github-actions, gradle, maven
- Language: TypeScript
- Homepage: https://github.com/MeilCli/actions
- Size: 2.47 MB
- Stars: 15
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: .github/CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# gradle-update-check-action
[![CI-Master](https://github.com/MeilCli/gradle-update-check-action/actions/workflows/ci-master.yml/badge.svg)](https://github.com/MeilCli/gradle-update-check-action/actions/workflows/ci-master.yml)
gradle maven new package version check action for GitHub Actions.## Thanks
This action is using [ben-manes/gradle-versions-plugin](https://github.com/ben-manes/gradle-versions-plugin).## Required
This action must execute after [setup-java](https://github.com/actions/setup-java).And, your repository must include gradle wrapper files.
## Example
Slack notification example, using [8398a7/action-slack](https://github.com/8398a7/action-slack):```yaml
name: Check Package
on:
schedule:
- cron: '0 8 * * 5' # every friday AM 8:00
jobs:
maven:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
java-version: 1.8
- name: Grant permission
run: chmod +x gradlew
- uses: MeilCli/gradle-update-check-action@v4
id: outdated
- uses: 8398a7/action-slack@v2
if: steps.outdated.outputs.has_maven_update != 'false'
with:
status: ${{ job.status }}
text: ${{ steps.outdated.outputs.maven_update_text }}
author_name: GitHub Actions
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
```
You can also pin to a [specific release](https://github.com/MeilCli/gradle-update-check-action/releases) version in the format `@v4.x.x`## input
- `build_gradle_files`
- optional
- target root build.gradle files
- if multiple files, write multiline
- `skip_plugin_dependency`
- optional
- skip automally add dependency of gradle-versions-plugin
- value: `true` or `false`, default: `false`
- `revision`
- optional
- version check revision
- more information? see [ben-manes/gradle-versions-plugin](https://github.com/ben-manes/gradle-versions-plugin)
- value: `release` or `milestone` or `integration`, default: `release`
- `output_text_style`
- optional
- output text style
- value: `short` or `long`, default: `short`## output
- `has_maven_update`
- has new package version information
- value: `true` or `false`
- `maven_update_text`
- new package version information text, styled by output_text_style
- `maven_update_json`
- new package version information json## Contributes
[](https://github.com/MeilCli/gradle-update-check-action/graphs/contributors)### Could you want to contribute?
see [Contributing.md](./.github/CONTRIBUTING.md)## License
[](LICENSE)