Skip to content

Commit ccb94e7

Browse files
authored
Merge pull request #76 from IShix-g/release
feat: enhance package export and artifact paths handling
2 parents 610ba9a + 52bfe11 commit ccb94e7

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,10 +80,11 @@ jobs:
8080
targetPlatform: StandaloneLinux64
8181
customParameters: -tag ${{ inputs.tag }} ${{ inputs.custom-parameters }}
8282
unityVersion: ${{ inputs.unity-version }}
83+
projectPath: ${{ inputs.project-path }}
8384
buildsPath: ${{ inputs.builds-path }}
8485
buildMethod: ${{ inputs.build-method }}
8586

8687
- uses: actions/upload-artifact@v4
8788
with:
8889
name: Build-StandaloneLinux64
89-
path: ${{ inputs.builds-path }}
90+
path: ${{ inputs.builds-path }}/StandaloneLinux64

Assets/Editor/PackageExporter.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,7 @@ public sealed class PackageExporter
1919
public static void Export()
2020
{
2121
var options = ArgumentsParser.GetValidatedOptions();
22-
var buildPath = options.GetValueOrDefault("buildsPath").TrimEnd('/');
23-
var exportPath = "./" + (!string.IsNullOrEmpty(buildPath) ? buildPath + "/" : "") + ToExportPath(_exportPath, options.GetValueOrDefault("tag"));
22+
var exportPath = "./" + ToExportPath(_exportPath, options.GetValueOrDefault("tag"));
2423
Export(_folderPath, exportPath);
2524
}
2625

0 commit comments

Comments
 (0)