fix: stream leak in akka-http client backend for server stream (#1832) #326
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: Publish | |
on: | |
push: | |
branches: | |
- main | |
tags: ["*"] | |
jobs: | |
sbt: | |
name: sbt publish | |
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: 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 ci-release | |
CI_RELEASE=akka-grpc-codegen/publishSigned CI_SNAPSHOT_RELEASE=akka-grpc-codegen/publish sbt ++2.13.10\! ci-release | |
env: | |
PGP_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }} | |
PGP_SECRET: ${{ secrets.PGP_SECRET }} | |
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }} | |
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }} | |
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.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: Cache Coursier cache | |
uses: coursier/[email protected] | |
- name: Set up JDK 11 | |
uses: coursier/[email protected] | |
with: | |
jvm: temurin:1.11 | |
- name: Publish | |
run: |- | |
eval "$(ssh-agent -s)" | |
echo $SCP_SECRET | base64 -d > /tmp/id_rsa | |
chmod 600 /tmp/id_rsa | |
ssh-add /tmp/id_rsa | |
sbt akka-grpc-docs/publishRsync | |
env: | |
SCP_SECRET: ${{ secrets.SCP_SECRET }} |