Skip to content

Commit c1cd3dd

Browse files
committed
fix: debug list files
1 parent 8b1b230 commit c1cd3dd

File tree

1 file changed

+14
-3
lines changed

1 file changed

+14
-3
lines changed

.github/workflows/release-template.yml

+14-3
Original file line numberDiff line numberDiff line change
@@ -85,14 +85,15 @@ jobs:
8585
run: |
8686
git config --global user.name 'semantic-release-bot'
8787
git config --global user.email '[email protected]'
88+
git commit --amend -a --no-edit
8889
git branch -d upm &> /dev/null || echo upm branch not found
8990
git subtree split -P "$PACKAGE_PATH" -b upm
9091
git checkout upm
9192
if [[ -d "Samples" ]]; then
92-
mv "Samples" "Samples~"
93-
rm -f "Samples.meta"
93+
mv Samples Samples~
94+
rm -f Samples.meta
95+
git commit --amend -a --no-edit
9496
fi
95-
git commit --amend -a --no-edit
9697
git push -f -u origin upm
9798
9899
- name: 🏷️ Create UPM Tag
@@ -138,6 +139,11 @@ jobs:
138139
key: Library-StandaloneLinux64
139140
restore-keys: Library-
140141

142+
- name: 📂 List files before export
143+
run: |
144+
echo "Listing files before export"
145+
ls -R
146+
141147
- name: 📦 Export Unity Package
142148
uses: game-ci/unity-builder@v4
143149
with:
@@ -150,6 +156,11 @@ jobs:
150156
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
151157
UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }}
152158

159+
- name: 📂 List files after export
160+
run: |
161+
echo "Listing files after export"
162+
ls -R
163+
153164
- name: 🗂️ Upload Unity Package Artifact
154165
uses: actions/upload-artifact@v4
155166
with:

0 commit comments

Comments
 (0)