From 64fa4ae7fdbfe21df2ddba25a77a49c935269414 Mon Sep 17 00:00:00 2001 From: Stephen Hodgson Date: Fri, 13 Sep 2024 08:53:45 -0400 Subject: [PATCH] unity-uwp-builder@v1.0.1 (#3) - Updated docs and tests --- .github/workflows/validate.yml | 4 ---- README.md | 8 +++----- action.yml | 2 +- package-lock.json | 4 ++-- package.json | 2 +- 5 files changed, 7 insertions(+), 13 deletions(-) diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index 1d2808b..1def23c 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -72,10 +72,6 @@ jobs: build-target: ${{ matrix.build-target }} log-name: '${{ matrix.build-target }}-Build' args: '-quit -nographics -batchmode -executeMethod Buildalon.Editor.BuildPipeline.UnityPlayerBuildTools.StartCommandLineBuild -sceneList Assets/Scenes/SampleScene.unity -arch ARM64' - - - uses: actions/setup-dotnet@v4 - with: - dotnet-version: '8.x' - uses: microsoft/setup-msbuild@v2 # builds visual studio project for UWP and packages it as an appx diff --git a/README.md b/README.md index cfff2ae..0b1e628 100644 --- a/README.md +++ b/README.md @@ -12,15 +12,13 @@ A GitHub Action to build Unity exported UWP projects. ```yaml steps: # required for unity-uwp-builder action - - uses: actions/setup-dotnet@v4 - with: - dotnet-version: '8.x' - uses: microsoft/setup-msbuild@v2 - uses: buildalon/unity-uwp-builder@v1 id: uwp-build with: project-path: '/path/to/your/build/output/directory' + architecture: 'ARM64' package-type: 'upload' - name: print outputs @@ -39,9 +37,9 @@ steps: | `configuration` | The configuration to use when building the visual studio project. | Defaults to `Master`. | | `architecture` | The architecture to use when building the visual studio project. Can be: `x86`, `x64`, `ARM`, or `ARM64`. | Defaults to `ARM64`. | | `package-type` | The type of package to generate. Can be: `sideload` or `upload`. | Defaults to `sideload`. | -| `certificate-path` | The path to the certificate to use when packaging the UWP project. | Required when `package-type` is `sideload`. If no certificate is provided, then a self signed test certificate is created. | +| `certificate-path` | The path to the certificate to use when packaging the UWP project. | Required when `package-type` is `sideload`. Defaults to the Unity generated test certificate. | ### outputs - `executable`: The path to the generated appx executable. -- `export-path`: The path to the export directory. +- `output-directory`: The path to the package output directory. diff --git a/action.yml b/action.yml index f3eb750..4dfb7eb 100644 --- a/action.yml +++ b/action.yml @@ -23,7 +23,7 @@ inputs: required: false default: 'sideload' certificate-path: - description: 'The path to the certificate to use when packaging the UWP project. Required when `package-type` is `sideload`. If no certificate is provided, then a test certificate is created.' + description: 'The path to the certificate to use when packaging the UWP project. Required when `package-type` is `sideload`. Defaults to the Unity generated test certificate.' required: false outputs: executable: diff --git a/package-lock.json b/package-lock.json index c39280f..09c55d5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "unity-uwp-builder", - "version": "1.0.0", + "version": "1.0.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "unity-uwp-builder", - "version": "1.0.0", + "version": "1.0.1", "license": "MIT", "dependencies": { "@actions/core": "^1.10.1", diff --git a/package.json b/package.json index 726e19f..703d3b3 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "unity-uwp-builder", - "version": "1.0.0", + "version": "1.0.1", "description": "A GitHub Action to build Unity exported UWP projects.", "author": "buildalon", "license": "MIT",