• v2 8cde90ea1d

    unity-packager@v2
    All checks were successful
    Release Build / build (push) Successful in 2s
    Tests / test (push) Successful in 3s
    Stable

    MabelAmber released this 2026-09-20 03:02:51 -07:00 | 1 commits to main since this release

    Signed by MabelAmber
    GPG key ID: 81723337692E9ACB
    • Updated to UnityPackager v2.0.1
    • Added unpack mode: set mode: unpack to extract a .unitypackage the way Unity would, with real Assets/... paths and their .meta files instead of GUID folders
      • New inputs: source-package (the package to extract) and output-dir (folder to extract into)
      • New output: unpacked-path (full path of the extracted folder)
    • mode defaults to pack, so packing steps don't need to set it
    • Inputs that only apply to one mode are now optional in the action definition. Missing ones fail with a clear error, e.g. mode 'pack' requires the source-dir, unity-root and output-path inputs

    BREAKING CHANGES

    • output-dir and output-name are now merged into output-path (.unitypackage is still added if missing)
    • output-dir now belongs to unpack mode and is ignored when packing, so leaving it in a v1 packing step will fail with a missing output-path error

    Migrating from v1

    # v1
    with:
      source-dir: ./UnityScripts
      unity-root: Assets/MyPackage
      output-dir: ./Staging
      output-name: MyPackage
    
    # v2
    with:
      source-dir: ./UnityScripts
      unity-root: Assets/MyPackage
      output-path: ./Staging/MyPackage
    
    Downloads
  • v1 40cf0c8e5c

    unity-packager@v1
    All checks were successful
    Release Build / build (push) Successful in 2s
    Tests / test (push) Successful in 2s
    Stable

    MabelAmber released this 2026-09-19 14:47:43 -07:00 | 2 commits to main since this release

    Signed by MabelAmber
    GPG key ID: 81723337692E9ACB
    • Initial Release
    Downloads