From 1199f8ec27220bd43c49923662eea08d4e3adc20 Mon Sep 17 00:00:00 2001 From: bischoffz Date: Fri, 12 Apr 2024 00:28:10 -0400 Subject: [PATCH] update readme and release workflow [skip ci] --- .github/workflows/release_build.yml | 5 ++-- README.md | 42 ++++++++++++++++++++--------- 2 files changed, 33 insertions(+), 14 deletions(-) diff --git a/.github/workflows/release_build.yml b/.github/workflows/release_build.yml index 5c160bb..f6fe721 100644 --- a/.github/workflows/release_build.yml +++ b/.github/workflows/release_build.yml @@ -10,8 +10,9 @@ name: Util Release Build on: push: - tags: - - 'v*' + paths-ignore: + - 'README.md' + - 'LICENSE' branches: ["main"] jobs: diff --git a/README.md b/README.md index 3fb19e3..3fe827e 100644 --- a/README.md +++ b/README.md @@ -1,33 +1,51 @@ [![GPL LICENSE][license-shield]][license-url] +[![GitHub tag (with filter)][tag-shield]][tag-url] [![GitHub contributors][contributors-shield]][contributors-url] +[![GitHub Workflow Status (with event)][dev-build-shield]][dev-build-url] +[![GitHub Workflow Status (with event)][build-shield]][build-url] # Modeling Utilities This project contains tools and utilities that are useful to use with simulation models. More Specifically, these utilities are used within [GCM](https://github.com/HHS/ASPR-8) and thus this project is required to be cloned and built in order to use GCM. -## Requirements -This project requires: +As of v4.1.1, this project is in Maven Central. + +## License +Distributed under the GPLv3 License. See [LICENSE](LICENSE) for more information. + +Please read the [HHS vulnerability discloure](https://www.hhs.gov/vulnerability-disclosure-policy/index.html). + +## Usage +To use this project in your project, simply add the following dependency to your `dependencies` section of your pom.xml file. +``` + + gov.hhs.aspr.ms + util + 4.1.1 + +``` +## Building from Source + +### Requirements - Maven 3.8.6 - Java 17 - Your favorite IDE for use with Java Projects -## Building +### Building To build this project: - Clone the repo - open a command line terminal - navigate to the root folder of this project -- run the command: ```mvn clean install``` - -That's all that is required to build this project. - -## License -Distributed under the GPLv3 License. See [LICENSE](LICENSE) for more information. - +- run the command: `mvn clean install` [contributors-shield]: https://img.shields.io/github/contributors/HHS/ASPR-ms-util [contributors-url]: https://github.com/HHS/ASPR-ms-util/graphs/contributors - - +[tag-shield]: https://img.shields.io/github/v/tag/HHS/ASPR-ms-util +[tag-url]: https://github.com/HHS/ASPR-8/releases/tag/latest [license-shield]: https://img.shields.io/github/license/HHS/ASPR-ms-util [license-url]: LICENSE +[dev-build-shield]: https://img.shields.io/github/actions/workflow/status/HHS/ASPR-ms-util/dev_build.yml?label=dev-build +[dev-build-url]: https://github.com/HHS/ASPR-ms-util/actions/workflows/dev_build.yml +[build-shield]: https://img.shields.io/github/actions/workflow/status/HHS/ASPR-ms-util/release_build.yml?label=release-build +[build-url]: https://github.com/HHS/ASPR-ms-util/actions/workflows/release_build.yml.yml \ No newline at end of file