Skip to content

Commit

Permalink
CI, readme
Browse files Browse the repository at this point in the history
  • Loading branch information
techygrrrl committed Feb 20, 2024
1 parent 9d3393a commit e758156
Show file tree
Hide file tree
Showing 3 changed files with 44 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Docs
on:
push:
branches:
- main

jobs:
javadoc:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v3
with:
distribution: temurin
java-version: 17

- uses: gradle/gradle-build-action@v2

- name: "Build docs with Dokka"
run: ./gradlew dokkaHtml

- name: "Publish Dokka"
uses: peaceiris/actions-gh-pages@v3
with:
GITHUB_TOKEN: ${{ github.token }}
publish_dir: 'lib/build/docs'
15 changes: 15 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Build & Test
on:
push:

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v3
with:
distribution: temurin
java-version: 17
- uses: gradle/gradle-build-action@v2
- run: ./gradlew build --info
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

**Magic8Ballrrr** tells you your future!

[![](https://jitpack.io/v/techygrrrl/Magic8Ballrrr.svg)](https://jitpack.io/#techygrrrl/Magic8Ballrrr)


## Features

- Answer positively, negatively, or with a neutral answer
Expand Down

0 comments on commit e758156

Please sign in to comment.