Skip to content

Workflow file for this run

name: Publish package to GitHub Packages
on:
release:
types: [created]
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: coursier/cache-action@v6
- uses: actions/setup-java@v3
with:
distribution: temurin
java-version: 11
check-latest: true
- name: Set output
id: vars
run: echo ::set-output name=tag::${GITHUB_REF#refs/*/}
- name: Publish package
run: sbt clean test publish
env:
CREATED_TAG: ${{ steps.vars.outputs.tag }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}