com.wallstop-studios.unity-helpers 2.0.0-rc38 → 2.0.0-rc39

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,11 +1,10 @@
1
1
  name: Export and Release Unity Package
2
2
 
3
3
  on:
4
- push:
5
- branches:
6
- - main
7
- paths:
8
- - 'package.json'
4
+ workflow_run:
5
+ workflows: ["Unity Tests"]
6
+ types:
7
+ - completed
9
8
  workflow_dispatch:
10
9
  inputs:
11
10
  logLevel:
@@ -70,9 +69,9 @@ jobs:
70
69
  UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }}
71
70
  with:
72
71
  unityVersion: 2022.3.5f1
73
- targetPlatform: StandaloneWindows64
74
- buildMethod: BuildScript.BuildProject
75
-
72
+ targetPlatform: StandaloneLinux64
73
+ buildMethod: BuildScript.BuildLinux
74
+ projectPath: .
76
75
 
77
76
  - name: Export Unity Package
78
77
  if: env.should_build == 'true'
@@ -3,13 +3,16 @@
3
3
  #if UNITY_EDITOR
4
4
  using UnityEditor;
5
5
  using System.IO;
6
+ using UnityEngine;
6
7
 
7
8
  // Needed for build
8
9
  public static class BuildScript
9
10
  {
10
11
  [MenuItem("Build/Build Unity Package")]
11
- public static void BuildProject()
12
+ public static void BuildLinux()
12
13
  {
14
+ Debug.Log($"Project Path: {Application.dataPath}");
15
+
13
16
  string[] scenes = { "Editor/Scenes/SampleScene.unity" };
14
17
 
15
18
  const string buildPath = "Builds/UnityHelpers";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "com.wallstop-studios.unity-helpers",
3
- "version": "2.0.0-rc38",
3
+ "version": "2.0.0-rc39",
4
4
  "displayName": "Unity Helpers",
5
5
  "description": "Various Unity Helper Library",
6
6
  "dependencies": {},