Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[email protected] #3

Merged
merged 3 commits into from
Sep 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading