com.wallstop-studios.unity-helpers 2.0.0-rc31 → 2.0.0-rc33
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,10 +1,6 @@
|
|
|
1
1
|
name: Export and Release Unity Package
|
|
2
2
|
|
|
3
3
|
on:
|
|
4
|
-
workflow_run:
|
|
5
|
-
workflows: ["Unity Tests"]
|
|
6
|
-
types:
|
|
7
|
-
- completed
|
|
8
4
|
push:
|
|
9
5
|
branches:
|
|
10
6
|
- main
|
|
@@ -53,18 +49,16 @@ jobs:
|
|
|
53
49
|
fi
|
|
54
50
|
|
|
55
51
|
- name: Activate Unity License
|
|
52
|
+
uses: game-ci/unity-activate@v2
|
|
56
53
|
if: env.should_build == 'true'
|
|
57
54
|
env:
|
|
58
55
|
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
|
|
59
|
-
run: |
|
|
60
|
-
echo "$UNITY_LICENSE" | base64 --decode > UnityLicense.ulf
|
|
61
|
-
echo "Unity license activated."
|
|
62
56
|
|
|
63
57
|
- name: Set up Unity
|
|
64
58
|
if: env.should_build == 'true'
|
|
65
|
-
uses: game-ci/unity-builder@
|
|
59
|
+
uses: game-ci/unity-builder@v2
|
|
66
60
|
with:
|
|
67
|
-
unityVersion: 2022.3.
|
|
61
|
+
unityVersion: 2022.3.5f1
|
|
68
62
|
targetPlatform: StandaloneLinux64
|
|
69
63
|
activateLicense: true
|
|
70
64
|
unityLicense: ${{ secrets.UNITY_LICENSE }}
|
package/README.md
CHANGED
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
# A Grab-Bag
|
|
2
2
|
Various Unity Helpers. Includes many deterministic, seedable random number generators.
|
|
3
3
|
|
|
4
|
+
# CI/CD Status
|
|
5
|
+

|
|
6
|
+

|
|
7
|
+
|
|
4
8
|
# Compatibility
|
|
5
9
|
| Platform | Compatible |
|
|
6
10
|
| --- | --- |
|
package/package.json
CHANGED
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
name: Unity Tests
|
|
2
|
-
|
|
3
|
-
on:
|
|
4
|
-
push:
|
|
5
|
-
pull_request:
|
|
6
|
-
|
|
7
|
-
jobs:
|
|
8
|
-
test:
|
|
9
|
-
name: Run Unity Tests
|
|
10
|
-
runs-on: ubuntu-latest
|
|
11
|
-
|
|
12
|
-
steps:
|
|
13
|
-
- name: Checkout repository
|
|
14
|
-
uses: actions/checkout@v4
|
|
15
|
-
|
|
16
|
-
- name: Cache Library folder
|
|
17
|
-
uses: actions/cache@v4
|
|
18
|
-
with:
|
|
19
|
-
path: Library
|
|
20
|
-
key: Library-${{ runner.os }}-${{ hashFiles('Packages/manifest.json') }}
|
|
21
|
-
restore-keys: |
|
|
22
|
-
Library-${{ runner.os }}-
|
|
23
|
-
|
|
24
|
-
- name: Activate Unity License
|
|
25
|
-
uses: game-ci/unity-activate@v3
|
|
26
|
-
env:
|
|
27
|
-
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
|
|
28
|
-
|
|
29
|
-
- name: Run Unity Tests
|
|
30
|
-
uses: game-ci/unity-test-runner@v3
|
|
31
|
-
with:
|
|
32
|
-
projectPath: .
|
|
33
|
-
githubToken: ${{ secrets.GITHUB_TOKEN }}
|
|
34
|
-
testMode: all
|
|
35
|
-
|
|
36
|
-
- name: Deactivate Unity License
|
|
37
|
-
if: always()
|
|
38
|
-
uses: game-ci/unity-return-license@v3
|