Skip to content

Commit

Permalink
Merge branch 'main' into rlamb/remove-unused-dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
kinyoklion authored Sep 16, 2024
2 parents 8c1f8f7 + 3f5bdaf commit a96e564
Show file tree
Hide file tree
Showing 6 changed files with 54 additions and 3 deletions.
4 changes: 4 additions & 0 deletions .github/actions/ci/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,7 @@ runs:
if: steps.build.outcome == 'success' && inputs.run_tests == 'true'
shell: bash
run: ./gradlew test

- name: Build Documentation
shell: bash
run: ./gradlew javadoc
24 changes: 24 additions & 0 deletions .github/workflows/publish-docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Manual Publish Documentation
on:
workflow_dispatch:

jobs:
build-and-publish:
runs-on: ubuntu-latest
permissions:
id-token: read # No OIDC needed.
contents: write # For publishing documentation.
steps:
- uses: actions/checkout@v4

- name: CI check
uses: ./.github/actions/ci
with:
run_tests: 'false'
java_version: '11'

- uses: launchdarkly/gh-actions/actions/publish-pages@publish-pages-v1.0.1
name: 'Publish to Github pages'
with:
docs_path: build/docs/javadoc
github_token: ${{ secrets.GITHUB_TOKEN }}
14 changes: 13 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
runs-on: ubuntu-latest
permissions:
id-token: write
contents: read
contents: write # For publishing documentation.
steps:
- uses: actions/checkout@v4

Expand Down Expand Up @@ -64,3 +64,15 @@ jobs:
code_signing_keyring: 'code-signing-keyring.gpg'
sonatype_username: ${{ env.SONATYPE_USER_NAME }}
sonatype_password: ${{ env.SONATYPE_PASSWORD }}

- uses: launchdarkly/gh-actions/actions/publish-pages@publish-pages-v1.0.1
name: 'Publish to Github pages'
if: ${{ inputs.dry_run == 'false' }}
with:
docs_path: build/docs/javadoc
github_token: ${{ secrets.GITHUB_TOKEN }}

- name: Dry Run Publish Docs
shell: bash
if: ${{ inputs.dry_run == 'true' }}
run: echo "Dry run. Not publishing docs."
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "0.2.3"
".": "1.0.0"
}
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,17 @@

All notable changes to the LaunchDarkly OpenFeature provider for the Server-Side SDK for Java will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org).

## [1.0.0](https://github.com/launchdarkly/openfeature-java-server/compare/0.2.3...1.0.0) (2024-06-07)


### ⚠ BREAKING CHANGES

* 1.0.0 release ([#29](https://github.com/launchdarkly/openfeature-java-server/issues/29))

### Features

* 1.0.0 release ([#29](https://github.com/launchdarkly/openfeature-java-server/issues/29)) ([bf51e20](https://github.com/launchdarkly/openfeature-java-server/commit/bf51e201dd48603a40ffcdbc72753751d70b3a5a))

## [0.2.3](https://github.com/launchdarkly/openfeature-java-server/compare/0.2.2...0.2.3) (2024-06-06)


Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
group = com.launchdarkly
#x-release-please-start-version
version=0.2.3
version=1.0.0
# x-release-please-version

0 comments on commit a96e564

Please sign in to comment.