Skip to content

Commit 8ab6e0a

Browse files
authored
Merge pull request #119 from IShix-g/release
fix: correct file path and indentation in workflows
2 parents 8567175 + 33be7d0 commit 8ab6e0a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ jobs:
139139
env:
140140
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
141141
run: |
142-
new_file="./${{ needs.build-package.outputs.export-path }}"
142+
new_file="/github/workspace/${{ needs.build-package.outputs.export-path }}"
143143
latest_release="${{ needs.get-latest-release.outputs.tag }}"
144144
gh release upload "$latest_release" "$new_file"
145145
echo "::notice title=Uploaded new asset::$new_file"

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,8 +109,8 @@ jobs:
109109
elif [ -n "${{ secrets.UNITY_SERIAL }}" ]; then
110110
license_name="UNITY_SERIAL"
111111
else
112-
echo "::error::No secrets.UNITY_LICENSE or secrets.UNITY_SERIAL found."
113-
exit 1
112+
echo "::error::No secrets.UNITY_LICENSE or secrets.UNITY_SERIAL found."
113+
exit 1
114114
fi
115115
116116
echo "name=$license_name" >> "$GITHUB_OUTPUT"

0 commit comments

Comments
 (0)