Release #9
Workflow file for this run
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: | |
workflow_dispatch: | |
jobs: | |
release: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Cache ivy packages | |
uses: actions/cache@v4 | |
with: | |
path: | | |
~/.ivy2/cache | |
~/.sbt | |
key: ${{ runner.os }}-ivy2-${{ hashFiles('**/*.sbt') }} | |
restore-keys: ${{ runner.os }}-sbt | |
- uses: olafurpg/setup-scala@v10 | |
with: | |
java-version: "[email protected]" | |
- name: "Config git" | |
run: | | |
git config --global user.name "GitHub Action Release bot" | |
git config --global user.email "[email protected]" | |
- name: Import GPG key | |
id: import_gpg | |
uses: crazy-max/ghaction-import-gpg@v5 | |
with: | |
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }} | |
passphrase: ${{ secrets.GPG_PRIVATE_KEY_PASSWORD }} | |
- name: List keys | |
run: gpg -K | |
- name: "Release" | |
env: | |
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USER }} | |
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }} | |
run: sbt release |