Skip to content
Merged
Show file tree
Hide file tree
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
26 changes: 0 additions & 26 deletions .github/workflows/PR-1524-test-java-publish-maven.yml

This file was deleted.

25 changes: 25 additions & 0 deletions .github/workflows/java-publish-maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -288,3 +288,28 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.JAVA_RELEASE_GITHUB_TOKEN }}

deploy-site:
name: Deploy Documentation Site
needs: [preflight, publish-maven, github-release]
if: github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
steps:
- name: Trigger site deployment on standalone repo
run: |
VERSION="${{ needs.publish-maven.outputs.version }}"
TAG="java/v${VERSION}"
PUBLISH_AS_LATEST=true
if [ "${{ inputs.prerelease }}" = "true" ]; then
PUBLISH_AS_LATEST=false
fi
echo "Triggering site deployment for version ${VERSION} (tag: ${TAG})"
gh workflow run deploy-site.yml \
--repo github/copilot-sdk-java \
-f version="${VERSION}" \
-f publish_as_latest="${PUBLISH_AS_LATEST}" \
-f monorepo_tag="${TAG}"
Comment thread
edburns marked this conversation as resolved.
echo "### Site Deployment" >> $GITHUB_STEP_SUMMARY
echo "Triggered deploy-site.yml on github/copilot-sdk-java for version ${VERSION}" >> $GITHUB_STEP_SUMMARY
env:
GITHUB_TOKEN: ${{ secrets.JAVA_RELEASE_GITHUB_TOKEN }}

2 changes: 2 additions & 0 deletions .github/workflows/java.notes.template
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
⚠️ **Artifact versioning plan:** Releases of this implementation track releases of the reference implementation. For each release of the reference implementation, there may follow a corresponding release of this implementation with the same number as the reference implementation. Release identifiers of the reference implementation are in the form `vMaj.Min.Micro`. For example v0.1.32. The corresponding maven version for the release will be `Maj.Min.Micro-java.N`, where `Maj`, `Min` and `Micro` are the corresponding numbers for the reference implementation release, and `N` is a monotonically increasing sequence number starting with 0 for each release. See the corresponding architectural decision record for more information in the `docs/adr` directory of the source code.

📦 [View on Maven Central](https://central.sonatype.com/artifact/${GROUP_ID}/${ARTIFACT_ID}/${VERSION})

📖 [Documentation](https://github.github.io/copilot-sdk-java/${VERSION}/) · [Javadoc](https://github.github.io/copilot-sdk-java/${VERSION}/apidocs/index.html)
<!-- END_INSTALLATION_SECTION -->

## Maven
Expand Down
Loading