Merge pull request #735 from scalameta/update/google-cloud-storage-2.… #536
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: [email protected] | |
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 }} |