Skip to content

chore(deps): update all dependencies #35

chore(deps): update all dependencies

chore(deps): update all dependencies #35

Workflow file for this run

name: Release
on:
workflow_dispatch:
push:
branches:
- 'feat/**' #publish snapshots
- 'main' #also publish snapshots - useful before releasing
tags:
- '**' #publish a release
jobs:
build:
runs-on: ubuntu-latest
env:
PGP_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
PGP_SECRET : ${{ secrets.GPG_SECRET }}
GPG_OWNERTRUST : ${{ secrets.GPG_OWNERTRUST }}
SONATYPE_PASSWORD: ${{ secrets.NEXUS_PASSWORD }}
SONATYPE_USERNAME: ${{ secrets.NEXUS_USERNAME }}
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 21
cache: sbt
- name: Tests
run: sbt test
- name: Configure GPG Key
run: |
echo $PGP_SECRET | base64 --decode | gpg --import -v --batch
- name: Configure GPG Ownertrust
run: |
echo -n "$GPG_OWNERTRUST" | base64 --decode | gpg --import-ownertrust
- name: Release
run: |
sbt ci-release