traversal.help: deduplicate stepDocs (#428) #174
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: [master, main] | |
tags: ["*"] | |
jobs: | |
release: | |
concurrency: release | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- name: apt-get update | |
run: sudo apt-get update | |
- name: Install gnupg | |
run: sudo apt update && sudo apt install -y gnupg | |
- name: Import GPG key | |
run: echo $PGP_SECRET | base64 --decode | gpg --batch --import | |
env: | |
PGP_SECRET: ${{ secrets.PGP_SECRET }} | |
- name: Set up JDK | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'temurin' | |
java-version: 19 | |
- uses: actions/cache@v2 | |
with: | |
path: | | |
~/.sbt | |
~/.coursier | |
key: ${{ runner.os }}-sbt-${{ hashfiles('**/build.sbt') }} | |
- run: sbt +test ciReleaseTagNextVersion ciReleaseSonatype | |
env: | |
PGP_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }} | |
PGP_SECRET: ${{ secrets.PGP_SECRET }} | |
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }} | |
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }} |