Skip to content

bump: sbt, scripted-plugin 1.9.7 (was 1.9.6) (#1878) #358

bump: sbt, scripted-plugin 1.9.7 (was 1.9.6) (#1878)

bump: sbt, scripted-plugin 1.9.7 (was 1.9.6) (#1878) #358

Workflow file for this run

name: Publish
on:
push:
branches:
- main
tags: ["*"]
jobs:
sbt:
name: sbt publish
runs-on: ubuntu-22.04
if: github.event.repository.fork == false
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
CI_RELEASE=akka-grpc-codegen/publishSigned CI_SNAPSHOT_RELEASE=akka-grpc-codegen/publish
env:
PGP_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }}
PGP_SECRET: ${{ secrets.PGP_SECRET }}
PUBLISH_USER: ${{ secrets.PUBLISH_USER }}
PUBLISH_PASSWORD: ${{ secrets.PUBLISH_PASSWORD }}
gradle-plugin:
name: Release gradle plugin
runs-on: ubuntu-22.04
if: github.repository == 'akka/akka-grpc'
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: Set up JDK 11
uses: coursier/[email protected]
with:
jvm: temurin:1.11.0.17
- name: Publish Plugin to Gradle Plugin Repository
run: cd gradle-plugin && ./gradlew publishPlugins -Pgradle.publish.key='${{ secrets.GRADLE_PUBLISH_KEY }}' -Pgradle.publish.secret='${{ secrets.GRADLE_SECRET }}'
documentation:
name: Documentation
runs-on: ubuntu-22.04
if: github.event.repository.fork == false
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: Set up JDK 11
uses: coursier/[email protected]
with:
jvm: temurin:1.11
- name: Publish
run: |-
eval "$(ssh-agent -s)"
echo $AKKA_RSYNC_GUSTAV | base64 -d > .github/id_rsa
chmod 600 .github/id_rsa
ssh-add .github/id_rsa
sbt publishRsync
env:
AKKA_RSYNC_GUSTAV: ${{ secrets.AKKA_RSYNC_GUSTAV }}