77        description : ' Git tag you want to create (e.g., 1.0.0).' 
88        required : true 
99        type : string 
10+       package-name :
11+         description : ' Specify the Unity package name without an extension.' 
12+         required : true 
13+         type : string 
1014      commit-id :
1115        description : ' Commit ID for release and tag.' 
1216        required : false 
@@ -78,13 +82,38 @@ jobs:
7882          UNITY_PASSWORD : ${{ secrets.UNITY_PASSWORD }} 
7983        with :
8084          targetPlatform : StandaloneLinux64 
81-           customParameters :  -tag  ${{ inputs.tag  }}  ${{ inputs.custom-parameters  }}
85+           buildName :  ${{ inputs.package-name  }}_ ${{ inputs.tag  }}.unitypackage  
8286          unityVersion : ${{ inputs.unity-version }} 
8387          projectPath : ${{ inputs.project-path }} 
8488          buildsPath : ${{ inputs.builds-path }} 
8589          buildMethod : ${{ inputs.build-method }} 
90+           customParameters : -tag ${{ inputs.tag }} ${{ inputs.custom-parameters }} 
91+ 
92+       - name : Normalize Path 
93+         id : path-normalizer 
94+         run : | 
95+           project_path="${{ inputs.project-path }}" 
96+           builds_path="${{ inputs.builds-path }}" 
97+           package_name="${{ inputs.package-name }}" 
98+           tag="${{ inputs.tag }}" 
99+ 
100+           builds_path="${builds_path%/}" 
101+           project_path="${project_path%/}" 
102+           builds_path="${builds_path%/}" 
103+ 
104+           if [ -z "$project_path" ]; then 
105+             final_path="./$builds_path/StandaloneLinux64/${package_name}_${tag}.unitypackage" 
106+           else 
107+             final_path="./$project_path/$builds_path/StandaloneLinux64/${package_name}_${tag}.unitypackage" 
108+           fi 
109+ 
110+           normalized_path=$(echo "$final_path" | sed 's://*:/:g') 
111+ 
112+           echo "path=$normalized_path" >> "$GITHUB_OUTPUT" 
113+           echo "::notice title=Export Path:: $normalized_path" 
114+ shell : bash 
86115
87116      - uses : actions/upload-artifact@v4 
88117        with :
89118          name : Build-StandaloneLinux64 
90-           path : /github/workspace/ ${{ inputs.builds- path }}/StandaloneLinux64 
119+           path : ${{ steps.path-normalizer.outputs. path }} 
0 commit comments