Skip to content

feat: Mark snapshot envelopes with snapshot source (#469) #293

feat: Mark snapshot envelopes with snapshot source (#469)

feat: Mark snapshot envelopes with snapshot source (#469) #293

Workflow file for this run

name: Publish
on:
push:
branches:
- main
tags: [ "*" ]
permissions:
contents: read
jobs:
sbt:
name: sbt publish
runs-on: ubuntu-22.04
if: github.repository == 'akka/akka-persistence-r2dbc'
steps:
- name: Checkout
uses: actions/[email protected]
with:
# we don't know what commit the last tag was it's safer to get entire repo so previousStableVersion resolves
fetch-depth: 0
- name: Cache Coursier cache
uses: coursier/[email protected]
- name: Set up JDK 11
uses: coursier/[email protected]
with:
jvm: temurin:1.11.0.17
- name: Publish
run: |-
sbt +publishSigned
env:
PGP_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }}
PGP_SECRET: ${{ secrets.PGP_SECRET }}
PUBLISH_USER: ${{ secrets.PUBLISH_USER }}
PUBLISH_PASSWORD: ${{ secrets.PUBLISH_PASSWORD }}
documentation:
name: Documentation
runs-on: ubuntu-22.04
if: github.repository == 'akka/akka-persistence-r2dbc'
steps:
- name: Checkout
uses: actions/[email protected]
with:
# we don't know what commit the last tag was it's safer to get entire repo so previousStableVersion resolves
fetch-depth: 0
- name: Cache Coursier cache
uses: coursier/[email protected]
- name: Set up JDK 11
uses: coursier/[email protected]
with:
jvm: temurin:1.11.0
- name: Publish API and reference documentation
run: |-
eval "$(ssh-agent -s)"
echo $SCP_SECRET | base64 -d > /tmp/id_rsa
chmod 600 /tmp/id_rsa
ssh-add /tmp/id_rsa
sbt docs/publishRsync
env:
SCP_SECRET: ${{ secrets.SCP_SECRET }}