diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index 0a959b7c..e6879a4a 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -12,7 +12,7 @@ on: workflow_dispatch: concurrency: - group: ${{ github.ref }} + group: ${{ github.workflow }}-${{ github.ref }} env: UNITY_PROJECT_PATH: '' @@ -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 }} @@ -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 }}) diff --git a/README.md b/README.md index 8c19ed32..e70c1c03 100644 --- a/README.md +++ b/README.md @@ -59,12 +59,12 @@ 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 }} @@ -72,7 +72,7 @@ jobs: # 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 diff --git a/action.yml b/action.yml index 13eeefc1..50c21592 100644 --- a/action.yml +++ b/action.yml @@ -26,6 +26,6 @@ inputs: default: '' runs: - using: 'node16' + using: 'node20' main: 'dist/index.js' post: 'dist/index.js' diff --git a/package-lock.json b/package-lock.json index 3163e2ce..258fd1ac 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "activate-unity-license", - "version": "5.0.0", + "version": "5.1.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "activate-unity-license", - "version": "5.0.0", + "version": "5.1.0", "license": "MIT", "dependencies": { "@actions/core": "^1.10.0", @@ -287,9 +287,9 @@ } }, "node_modules/@types/node": { - "version": "20.11.5", - "resolved": "https://registry.npmjs.org/@types/node/-/node-20.11.5.tgz", - "integrity": "sha512-g557vgQjUUfN76MZAN/dt1z3dzcUsimuysco0KeluHgrPdJXkP/XdAURgyO2W9fZWHRtRBiVKzKn8vyOAwlG+w==", + "version": "20.11.8", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.11.8.tgz", + "integrity": "sha512-i7omyekpPTNdv4Jb/Rgqg0RU8YqLcNsI12quKSDkRXNfx7Wxdm6HhK1awT3xTgEkgxPn3bvnSpiEAc7a7Lpyow==", "optional": true, "dependencies": { "undici-types": "~5.26.4" @@ -924,7 +924,7 @@ "version": "19.11.1", "resolved": "https://registry.npmjs.org/puppeteer/-/puppeteer-19.11.1.tgz", "integrity": "sha512-39olGaX2djYUdhaQQHDZ0T0GwEp+5f9UB9HmEP0qHfdQHIq0xGQZuAZ5TLnJIc/88SrPLpEflPC+xUqOTv3c5g==", - "deprecated": "< 21.3.7 is no longer supported", + "deprecated": "< 21.5.0 is no longer supported", "hasInstallScript": true, "dependencies": { "@puppeteer/browsers": "0.5.0", diff --git a/package.json b/package.json index 566f5772..3b3d496e 100644 --- a/package.json +++ b/package.json @@ -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": {