Skip to content

Adopting zio conventions #2

Adopting zio conventions

Adopting zio conventions #2

Workflow file for this run

name: build
on:
push:
branches:
- '**'
tags-ignore:
- '*.*'
pull_request:
release:
types:
- published
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/[email protected]
with:
distribution: 'temurin'
java-version: '17'
cache: 'sbt'
gpg-private-key: ${{ secrets.PGP_PRIVATE_KEY }}
- name: Test
env:
CI_VERSION: ${{ github.ref }}
SBT_OPTS: '-Xmx2G'
run: sbt "; test"
- name: Publish
if: github.event_name == 'release'
env:
CI_VERSION: ${{ github.ref }}
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
SBT_OPTS: '-Xmx2G'
run: |
sbt "; sonatypeBundleClean; publishSigned; sonatypeBundleRelease"
dependency-graph:
name: Update Dependency Graph
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: scalacenter/sbt-dependency-submission@v3
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
if: ${{ env.GITHUB_TOKEN }}