Merge pull request #958 from profunktor/update/sbt-1.10.7 #534
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: | |
# to allow the manual trigger workflows | |
workflow_dispatch: {} | |
push: | |
branches: | |
- series/1.x # CE3 | |
tags: | |
- "v1.*" | |
jobs: | |
build: | |
name: Publish | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2.3.2 | |
with: | |
fetch-depth: 0 # fetch all branches & tags | |
- name: "Install Nix ❄️" | |
uses: cachix/install-nix-action@v22 | |
- name: "Install Cachix ❄️" | |
uses: cachix/cachix-action@v12 | |
with: | |
name: redis4cats | |
signingKey: "${{ secrets.CACHIX_SIGNING_KEY }}" | |
- 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' |