[PLA-2420] Fix release CI - #37
Merged
Merged
Conversation
Collaborator
Author
|
Needs a few things before merge:
|
Bradez
approved these changes
Jun 16, 2026
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Enjin-Platform-CSharp-SDK/{version}https://platform.enjin.io/graphqlAdditional Info
This pull request makes several important improvements to the build and release automation and enhances the usability of the
PlatformClientclass. The main changes include consolidating and expanding CI workflows, improving the release process for both NuGet and Unity packages, and making thePlatformClienteasier to use with sensible defaults.CI/CD and Release Workflow Improvements:
.github/workflows/build.ymlworkflow was significantly enhanced to handle both NuGet and Unity Package Manager (UPM) releases, including support for manual workflow dispatches and improved artifact publishing. The workflow now uploads NuGet packages and UPM tarballs to draft releases, publishes to NuGet.org using OIDC authentication, and pushes Unity packages to a dedicated repository. A new job ensures releases are only published after all assets are attached. ([[1]](https://github.com/enjin/platform-csharp-sdk/pull/37/files#diff-5c3fa597431eda03ac3339ae6bf7f05e1a50d6fc7333679ec38e21b337cb6721L8-R24),[[2]](https://github.com/enjin/platform-csharp-sdk/pull/37/files#diff-5c3fa597431eda03ac3339ae6bf7f05e1a50d6fc7333679ec38e21b337cb6721L55-R232)).github/workflows/unity.ymlworkflow was deleted, consolidating all packaging and release logic into the improved build workflow. ([.github/workflows/unity.ymlL1-L104](https://github.com/enjin/platform-csharp-sdk/pull/37/files#diff-3b739592ec0b95d14f953ef27c16fa130d2a7aa4cdb5b410c64357ac161d926cL1-L104))PlatformClient Usability Enhancements:
PlatformClientclass now provides aDefaultBaseAddress(pointing to the Enjin Platform GraphQL endpoint) and allows thebaseAddressparameter to be omitted or set tonull, in which case the default is used. ([[1]](https://github.com/enjin/platform-csharp-sdk/pull/37/files#diff-8c215af18b2a74aa2e062a881e7f06467aee7a5217469101ff44a81ae5759d20R18-R22),[[2]](https://github.com/enjin/platform-csharp-sdk/pull/37/files#diff-8c215af18b2a74aa2e062a881e7f06467aee7a5217469101ff44a81ae5759d20L61-R77))Enjin-Platform-CSharp-SDK/{version}. ([src/Enjin.Platform.Sdk/Enjin.Platform.Sdk/Platform/PlatformClient.csL41-R46](https://github.com/enjin/platform-csharp-sdk/pull/37/files#diff-8c215af18b2a74aa2e062a881e7f06467aee7a5217469101ff44a81ae5759d20L41-R46))baseAddressbehaviors work as intended. ([src/Enjin.Platform.Sdk/Enjin.Platform.Sdk.Tests/Unit/Platform/PlatformClientSmokeTest.csL214-R241](https://github.com/enjin/platform-csharp-sdk/pull/37/files#diff-a1b48eea8d79912c8cd3e0cb2309a0b848c9fec428f5300b7587639bbc6301a8L214-R241))