Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -268,3 +268,19 @@ jobs:
gpg --batch --import private-key.gpg
./mvnw -V -B -Dgpg.skip=false -DskipTests -s settings.xml deploy
curl -X POST https://ossrh-staging-api.central.sonatype.com/manual/upload/defaultRepository/io.dapr

# Opens (or comments on) a tracking issue when a tagged release fails
# anywhere in the build/test/publish chain.
notify-on-failure:
needs: [build, test, build-durabletask, publish]
if: failure() && startsWith(github.ref, 'refs/tags/v')
permissions:
issues: write
actions: read
uses: dapr/.github/.github/workflows/open-issue-on-failure.yml@main
Comment on lines +276 to +280
with:
title: "Release publish failed: ${{ github.workflow }} (${{ github.ref_name }})"
labels: "release,ci/publish-failure"
mention: "@dapr/maintainers-java-sdk @dapr/approvers-java-sdk"
secrets:
dapr_bot_token: ${{ secrets.DAPR_BOT_TOKEN }}
Loading