Merge pull request #426 from profunktor/update/mdoc-2.5.2 #299
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/1.x | |
tags: | |
- "*" | |
jobs: | |
build: | |
name: Publish | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v2.3.2 | |
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 |