Skip to content

Fix upgrade-pkhex workflow (issue #16) - #17

Open
jackgopack4 wants to merge 4 commits into
FlagBrew:masterfrom
jackgopack4:fix/upgrade-pkhex-workflow
Open

Fix upgrade-pkhex workflow (issue #16)#17
jackgopack4 wants to merge 4 commits into
FlagBrew:masterfrom
jackgopack4:fix/upgrade-pkhex-workflow

Conversation

@jackgopack4

@jackgopack4 jackgopack4 commented May 5, 2026

Copy link
Copy Markdown

Fixes #16. Closes #18.

Changes

Workflow fixes (upgrade-pkhex.yml)

  • Fix 1: Bump .NET SDK from 9.0.x to 10.0.x — PKHeX.Core now targets net10.0
  • Fix 2: Update hardcoded net9.0 paths to net10.0 in the NuGet cache copy and xcopy steps
  • Fix 3: Correct GpssConsole.csproj path — file is at GpssConsole/GpssConsole.csproj, not workspace root
  • Fix 4: Replace hardcoded git push origin master with ${{ github.event.repository.default_branch }}

GpssConsole API compatibility (GpssConsole/utils/PKhex.cs, GpssConsole/models/Legality.cs)

  • Replace pokemon.Context.Generation() with pokemon.Format — PKHeX moved Generation to a C# 14 extension member which GpssConsole cannot call
  • Replace PKM.DecryptedBoxData / PKM.DecryptedPartyData (removed) with the new WriteDecryptedDataStored / WriteDecryptedDataParty Span-based API

Updated DLLs (GpssConsole/deps/)

  • Refresh PKHeX.Core.dll and PKHeX.Core.AutoMod.dll to latest net10.0 builds

Verification

Full end-to-end workflow run on fork (all steps ✓ including Commit and Push DLLs):
https://github.com/jackgopack4/local-gpss/actions/runs/25404743165

jackgopack4 and others added 4 commits May 5, 2026 17:19
- Bump .NET SDK from 9.0.x to 10.0.x (PKHeX.Core now targets net10.0)
- Update hardcoded net9.0 paths to net10.0 in copy and xcopy steps
- Fix wrong GpssConsole.csproj path (missing GpssConsole/ subdirectory)
- Use dynamic default branch for git push instead of hardcoded master

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Replace EntityContext.Generation() with PKM.Format (C# 14 extension
  member syntax not accessible from GpssConsole)
- Replace DecryptedBoxData/DecryptedPartyData with WriteDecryptedDataStored/
  WriteDecryptedDataParty Span-based API
- Update bundled DLLs to latest PKHeX.Core and PKHeX.Core.AutoMod (net10.0)

Closes FlagBrew#18.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@BernardoGiordano

Copy link
Copy Markdown

Thanks. Added to my review todo-list.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

GpssConsole incompatible with latest PKHeX.Core API upgrade-pkhex workflow is broken and never commits updated DLLs

2 participants