Skip to content

Commit 905a927

Browse files
authored
Merge pull request #95 from IShix-g/release
Release
2 parents a77e98f + 0ac897b commit 905a927

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/reusable-build-package.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,9 @@ jobs:
7878
builds_path="${builds_path%/}"
7979
8080
if [ -z "$project_path" ]; then
81-
final_path="/$builds_path/StandaloneLinux64/$package_name"
81+
final_path="./$builds_path/StandaloneLinux64/$package_name"
8282
else
83-
final_path="/$project_path/$builds_path/StandaloneLinux64/$package_name"
83+
final_path="./$project_path/$builds_path/StandaloneLinux64/$package_name"
8484
fi
8585
8686
export_path=$(echo "$final_path" | sed 's://*:/:g')

Assets/Editor/PackageExporter.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,13 @@ public static void Export()
1818
{
1919
var options = ArgumentsParser.GetValidatedOptions();
2020
var buildPath = options.GetValueOrDefault("customBuildPath");
21-
buildPath = buildPath?.Replace("/github/workspace/", "");
21+
buildPath = buildPath?.Replace("/github/workspace/", "./");
2222
Export(_folderPath, buildPath);
2323
}
2424

25-
public static void Export(string folderPath, string exportPath)
25+
public static void Export(string assetsFolderPath, string exportPath)
2626
{
27-
var assets = AssetDatabase.FindAssets("", new[] { folderPath })
27+
var assets = AssetDatabase.FindAssets("", new[] { assetsFolderPath })
2828
.Select(AssetDatabase.GUIDToAssetPath)
2929
.ToArray();
3030

0 commit comments

Comments
 (0)