Add tests and refactor #14
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: push | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/cache@v4 | |
with: | |
path: ~/.sdkman | |
key: "${{ runner.os }}-sdkman-${{ hashFiles('.sdkmanrc') }}" | |
restore-keys: "${{ runner.os }}-sdkman-" | |
- uses: actions/cache@v4 | |
with: | |
path: | | |
~/.gradle/caches | |
~/.gradle/wrapper | |
key: "${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/*.properties') }}" | |
restore-keys: "${{ runner.os }}-gradle-" | |
- run: curl -s "https://get.sdkman.io?rcupdate=false" | bash | |
- run: | | |
source "$HOME/.sdkman/bin/sdkman-init.sh" | |
sdk env install | |
./gradlew jpackage |