Skip to content

Switch to using our script for tagging #7

Switch to using our script for tagging

Switch to using our script for tagging #7

name: Build, Test and Publish main
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
on:
push:
branches: [ main ]
jobs:
build-test-publish:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
java-version: 11
distribution: "adopt"
- name: compile
run: sbt compile
- name: Run tests
run: sbt test
- name: Tag version
run: scripts/tag-version.sh
- name: Publish
run: scripts/publish-scala-libs.sh