Merge pull request #490 from profunktor/update/sbt-ci-release-1.9.2 #364
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: | |
- series/2.x | |
tags: | |
- "*" | |
jobs: | |
build: | |
name: Publish | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/[email protected] | |
with: | |
fetch-depth: 0 # fetch all branches & tags | |
- name: "Install Nix ❄️" | |
uses: cachix/install-nix-action@v18 | |
- name: "Publish ${{ github.ref }} 🚀" | |
env: | |
PGP_PASSPHRASE: "${{ secrets.PGP_PASSPHRASE }}" | |
PGP_SECRET: "${{ secrets.PGP_SECRET }}" | |
SONATYPE_PASSWORD: "${{ secrets.SONATYPE_PASSWORD }}" | |
SONATYPE_USERNAME: "${{ secrets.SONATYPE_USERNAME }}" | |
run: nix develop -c sbt ci-release |