Skip to content

update readme

update readme #7

Workflow file for this run

name: CI
on:
push:
branches:
- master
tags: [ "*" ]
pull_request:
branches:
- master
jobs:
check:
runs-on: ubuntu-latest
strategy:
matrix:
java-version: [ 11 ]
steps:
- uses: actions/checkout@v3
- name: Setup JDK
uses: actions/setup-java@v1
with:
java-version: ${{ matrix.java-version }}
- name: Cache scala dependencies
uses: coursier/cache-action@v6
- name: Checking Code style
run: sbt check
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup JDK
uses: actions/setup-java@v1
with:
java-version: 11
- name: Run Test
run: sbt test
publish:
runs-on: ubuntu-latest
needs: [ check ]
if: github.event_name != 'pull_request'
steps:
- name: Checkout current branch
uses: actions/[email protected]
with:
fetch-depth: 0
- name: Setup JDK
uses: actions/setup-java@v1
with:
java-version: 11
- name: Release artifacts
run: sbt ci-release
env:
PGP_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }}
PGP_SECRET: ${{ secrets.PGP_SECRET }}
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
ci:
runs-on: ubuntu-latest
needs: [ check, test ]
steps:
- name: Aggregate outcomes
run: echo "build succeeded"