Skip to content

Commit

Permalink
fork 1.0.x (#223)
Browse files Browse the repository at this point in the history
  • Loading branch information
pjfanning authored Feb 6, 2024
1 parent 1fa29f6 commit cc4a1d0
Show file tree
Hide file tree
Showing 3 changed files with 54 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .asf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,18 @@ github:
dismiss_stale_reviews: false
require_code_owner_reviews: false
required_approving_review_count: 1
1.0.x:
required_status_checks:
# strict means "Require branches to be up to date before merging".
strict: false
# contexts are the names of checks that must pass
contexts:
- Code is formatted
- Check headers
required_pull_request_reviews:
dismiss_stale_reviews: false
require_code_owner_reviews: false
required_approving_review_count: 1

notifications:
commits: commits@pekko.apache.org
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/publish-1.0-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ jobs:
with:
# we don't know what commit the last tag was it's safer to get entire repo so previousStableVersion resolves
fetch-depth: 0
ref: 1.0.x

- name: Setup Java 8
uses: actions/setup-java@v4
Expand Down
41 changes: 41 additions & 0 deletions .github/workflows/publish-1.0-nightly.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: Publish 1.0 Nightly

on:
schedule:
- cron: "0 2 * * *"
workflow_dispatch:

jobs:
sbt:
name: sbt publish
runs-on: ubuntu-latest
if: github.repository == 'apache/incubator-pekko-grpc'
steps:
- name: Checkout
uses: actions/checkout@v4
with:
# we don't know what commit the last tag was it's safer to get entire repo so previousStableVersion resolves
fetch-depth: 0
ref: 1.0.x

- name: Setup Java 8
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 8

- name: Publish
run: |-
cp .jvmopts-ci .jvmopts
sbt +publish
sbt ++2.13.12! codegen/publish
sbt ++3.3.1! codegen/publish
env:
NEXUS_USER: ${{ secrets.NEXUS_USER }}
NEXUS_PW: ${{ secrets.NEXUS_PW }}

- name: Publish Gradle Plugin
run: cd gradle-plugin && ./gradlew publishToSonatype
env:
NEXUS_USER: ${{ secrets.NEXUS_USER }}
NEXUS_PW: ${{ secrets.NEXUS_PW }}

0 comments on commit cc4a1d0

Please sign in to comment.