Skip to content

Merge pull request #411 from scala-steward/update/sbt-1.10.7 #496

Merge pull request #411 from scala-steward/update/sbt-1.10.7

Merge pull request #411 from scala-steward/update/sbt-1.10.7 #496

Workflow file for this run

name: CI
on:
push:
branches:
- main
tags:
- "v*"
pull_request:
jobs:
test:
runs-on: ${{ matrix.OS }}
name: Test ${{ matrix.OS }}
strategy:
fail-fast: false
matrix:
OS: ["ubuntu-latest", "macos-13", "windows-latest"]
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: true
- uses: coursier/cache-action@v6
- uses: coursier/[email protected]
with:
jvm: 21
apps: sbt
- name: Test
run: ./.github/scripts/ci.sh
shell: bash
publish:
if: github.event_name == 'push'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: true
- uses: coursier/cache-action@v6
- uses: coursier/[email protected]
with:
jvm: 21
- run: .github/scripts/gpg-setup.sh
shell: bash
env:
PGP_SECRET: ${{ secrets.PUBLISH_SECRET_KEY }}
- uses: sbt/setup-sbt@v1
- name: Release
run: sbtn ci-release
env:
PGP_SECRET: ${{ secrets.PUBLISH_SECRET_KEY }}
PGP_PASSPHRASE: ${{ secrets.PUBLISH_SECRET_KEY_PASSWORD }}
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}