Merge pull request #862 from scalameta/update/sbt-ci-release-1.9.2 #622
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release | |
on: | |
push: | |
branches: [main] | |
tags: ["*"] | |
jobs: | |
publish: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-java@v4 | |
with: | |
distribution: temurin | |
java-version: 8 | |
cache: sbt | |
- run: git fetch --unshallow | |
- name: Publish ${{ github.ref }} | |
run: | | |
sbt ci-release | |
env: | |
GIT_USER: munit@scalameta.org | |
PGP_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }} | |
PGP_SECRET: ${{ secrets.PGP_SECRET }} | |
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }} | |
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }} | |
GITHUB_DEPLOY_KEY: ${{ secrets.GITHUB_DEPLOY_KEY }} | |
GOOGLE_APPLICATION_CREDENTIALS: | |
${{ secrets.GOOGLE_APPLICATION_CREDENTIALS }} | |
GOOGLE_APPLICATION_CREDENTIALS_JSON: | |
${{ secrets.GOOGLE_APPLICATION_CREDENTIALS_JSON }} |