Skip to content

Commit

Permalink
unity-uwp-builder@v1.0.1 (#3)
Browse files Browse the repository at this point in the history
- Updated docs and tests
  • Loading branch information
StephenHodgson authored Sep 13, 2024
1 parent 3cfa5e8 commit 64fa4ae
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 13 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 3 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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.
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down

0 comments on commit 64fa4ae

Please sign in to comment.