Skip to content

Merge pull request #12 from scala-steward/update/scala3-library-3.3.3 #35

Merge pull request #12 from scala-steward/update/scala3-library-3.3.3

Merge pull request #12 from scala-steward/update/scala3-library-3.3.3 #35

Workflow file for this run

name: Release
on:
push:
branches: [main]
tags: ["*"]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-java@v4
with:
java-version: 11
distribution: adopt
cache: 'sbt'
- run: sbt sourceCodeCheck versionPolicyCheck
publish:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-java@v4
with:
java-version: 11
distribution: adopt
cache: 'sbt'
- run: sbt versionCheck ci-release
env:
PGP_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }}
PGP_SECRET: ${{ secrets.PGP_SECRET }}
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}