Skip to content

Merge pull request #783 from scalameta/update/scalafmt-core-3.7.11 #371

Merge pull request #783 from scalameta/update/scalafmt-core-3.7.11

Merge pull request #783 from scalameta/update/scalafmt-core-3.7.11 #371

Workflow file for this run

name: Release
on:
push:
branches: [main]
tags: ["*"]
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: olafurpg/setup-scala@v13
- uses: olafurpg/setup-gpg@v3
- name: Publish ${{ github.ref }}
run: sbt ci-release
env:
PGP_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }}
PGP_SECRET: ${{ secrets.PGP_SECRET }}
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
- name: Check git diff
if: ${{ failure() }}
run: git diff