Skip to content

Commit 7dcac24

Browse files
authored
Merge pull request #97 from IShix-g/release
Remove redundant path normalization logic.
2 parents 5b0ee70 + a3de446 commit 7dcac24

File tree

2 files changed

+2
-9
lines changed

2 files changed

+2
-9
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: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,6 @@ public static void Export()
1818
{
1919
var options = ArgumentsParser.GetValidatedOptions();
2020
var buildPath = options.GetValueOrDefault("customBuildPath");
21-
22-
var workspaceDir = Environment.GetEnvironmentVariable("GITHUB_WORKSPACE");
23-
if (!string.IsNullOrEmpty(workspaceDir))
24-
{
25-
buildPath = buildPath.Replace($"{workspaceDir}/", "./");
26-
}
27-
2821
Export(_folderPath, buildPath);
2922
}
3023

0 commit comments

Comments
 (0)