fix: use /tmp for changelog artifact to avoid . file matching issues

This commit is contained in:
JerrettDavis 2026-04-15 22:52:26 -05:00
parent 5f0067012b
commit 66e1e6a67f
2 changed files with 18 additions and 3 deletions

0
.changelog.md Normal file → Executable file
View file

View file

@ -193,10 +193,22 @@ jobs:
cat .changelog.md
- name: Upload changelog artifact
run: |
if [ -f .changelog.md ]; then
echo "File exists, uploading..."
ls -la .changelog.md
cp .changelog.md /tmp/changelog-backup.md
else
echo "ERROR: .changelog.md does not exist!"
exit 1
fi
shell: bash
- name: Upload changelog via action
uses: actions/upload-artifact@v4
with:
name: changelog
path: .changelog.md
path: /tmp/changelog-backup.md
if-no-files-found: error
- name: Build Python package
@ -309,10 +321,13 @@ jobs:
uses: actions/download-artifact@v4
with:
name: changelog
path: .
path: /tmp
- name: Show changelog
run: cat .changelog.md
run: |
ls -la /tmp/changelog-backup.md
cp /tmp/changelog-backup.md .changelog.md
cat .changelog.md
- name: Create GitHub Release
env: