Skip to content
This repository has been archived by the owner on Nov 24, 2024. It is now read-only.

Commit

Permalink
Provide Sonatype credentials to release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
paoloboni committed Aug 18, 2022
1 parent 1082fa9 commit 3cba612
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ on:
push:
tags:
- 'v*.*.*'
env:
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
PGP_PASSPHRASE: ${{ secrets.GPG_SECRET_KEY_PASSPHRASE }}
PGP_SECRET: ${{ secrets.GPG_SECRET_KEY }}
jobs:
release:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -31,7 +36,7 @@ jobs:
gpg_private_key: ${{ secrets.GPG_SECRET_KEY }}
passphrase: ${{ secrets.GPG_SECRET_KEY_PASSPHRASE }}
- name: Release
run: PGP_PASSPHRASE=${{ secrets.GPG_SECRET_KEY_PASSPHRASE }} sbt 'set version:="${{ env.VERSION }}";release cross with-defaults skip-tests'
run: sbt 'set version:="${{ env.VERSION }}";release cross with-defaults skip-tests'
shell: bash
timeout-minutes: 10
- name: Update documentation
Expand Down

0 comments on commit 3cba612

Please sign in to comment.