Skip to content
This repository has been archived by the owner on Aug 11, 2024. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
- updated node version from 16 -> 20
  • Loading branch information
StephenHodgson authored Jan 27, 2024
1 parent c0736c8 commit 3b0beac
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 14 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:
workflow_dispatch:

concurrency:
group: ${{ github.ref }}
group: ${{ github.workflow }}-${{ github.ref }}

env:
UNITY_PROJECT_PATH: ''
Expand Down Expand Up @@ -48,7 +48,7 @@ jobs:
# sets -> env.UNITY_EDITOR_PATH
# sets -> env.UNITY_PROJECT_PATH
# https://github.com/XRTK/unity-setup
- uses: xrtk/unity-setup@v7.2
- uses: xrtk/unity-setup@v7
with:
version-file-path: 'test-project/**/ProjectSettings/ProjectVersion.txt'
build-targets: ${{ matrix.build-target }}
Expand All @@ -63,7 +63,7 @@ jobs:
password: ${{ secrets.UNITY_PASSWORD }}
# Optional
license-type: 'Personal' # Chooses license type to use [ Personal, Professional ]
serial: ${{ secrets.UNITY_SERIAL }} # Required for pro/plus activations
# serial: ${{ secrets.UNITY_SERIAL }} # Required for pro/plus activations
auth-key: ${{ secrets.UNITY_2FA_KEY }} # required for personal activations

- name: Unity Build (${{ matrix.build-target }})
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,20 +59,20 @@ jobs:
# sets -> env.UNITY_EDITOR_PATH
# sets -> env.UNITY_PROJECT_PATH
# https://github.com/XRTK/unity-setup
- uses: xrtk/unity-setup@v7.2
- uses: xrtk/unity-setup@v7
with:
build-targets: ${{ matrix.build-target }}

# Activates the installation with the provided credentials
- uses: xrtk/activate-unity-license@v5
- uses: xrtk/activate-unity-license@v5.1
with:
# Required
username: ${{ secrets.UNITY_USERNAME }}
password: ${{ secrets.UNITY_PASSWORD }}
# Optional
license-type: 'Professional' # Chooses license type to use [ Personal, Professional ]
serial: ${{ secrets.UNITY_SERIAL }} # Required for pro/plus activations
# auth-key: ${{ secrets.UNITY_2FA_KEY }} # required for personal activations
auth-key: ${{ secrets.UNITY_2FA_KEY }} # required for personal activations
```
### 2FA Auth Key Setup Steps
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@ inputs:
default: ''

runs:
using: 'node16'
using: 'node20'
main: 'dist/index.js'
post: 'dist/index.js'
12 changes: 6 additions & 6 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": "activate-unity-license",
"version": "5.0.0",
"version": "5.1.0",
"description": "An atomic GitHub Action that activates the Unity Engine license via cli with the provided secret parameters.",
"main": "src/index.js",
"dependencies": {
Expand Down

0 comments on commit 3b0beac

Please sign in to comment.