Skip to content

Merge pull request #954 from profunktor/update/sbt-ci-release-1.9.2 #532

Merge pull request #954 from profunktor/update/sbt-ci-release-1.9.2

Merge pull request #954 from profunktor/update/sbt-ci-release-1.9.2 #532

Workflow file for this run

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/[email protected]
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'