Skip to content

Commit

Permalink
add: workflow file
Browse files Browse the repository at this point in the history
  • Loading branch information
Oluwatunmise-olat committed Jan 27, 2024
1 parent 25ea02b commit 24921ec
Show file tree
Hide file tree
Showing 4 changed files with 61 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/publish-package.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
name: Publish Package
on: push
jobs:
publish:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
java-version: '17.0.8'
distribution: 'adopt'
- name: Publish Package
run: mvn --batch-mode deploy
env:
GITHUB_TOKEN: ${{ secrets.TOKEN }}
9 changes: 9 additions & 0 deletions LICENSE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@

# The MIT License (MIT)
Copyright (c) 2024 Oluwatunmise Olatunbosun

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
26 changes: 26 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# FastOTP (FastOTP-Java-Library)
FastOTP-Java-Library facilitates quick and easy development and integration of Java based applications with the [FASTOTP API](https://fastotp.co/).

- **Contributors:** **Oluwatunmise Olatunbosun**

# Getting Started

## Installation (Jar file)
### Maven

```bash
<dependency>
<groupId>com.github.oluwatunmise</groupId>
<artifactId>Java-FastOTP</artifactId>
<version>1.0</version>
<type>jar</type>
</dependency>
```

Visit [Bintray](https://bintray.com/)
### Jar
Download latest Java-FastOTP Library jar file from [here](https://github.com/Oluwatunmise-olat/fast-otp-java/releases/latest)

## License

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.
7 changes: 7 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,12 @@
<scope>test</scope>
</dependency>
</dependencies>
<distributionManagement>
<repository>
<id>github</id>
<name>Github Oluwatunmise-olat FastOtp Library</name>
<url>https://maven.pkg.github.com/Oluwatunmise-olat/fast-otp-java</url>
</repository>
</distributionManagement>

</project>

0 comments on commit 24921ec

Please sign in to comment.