add step tot remove distignore files
All checks were successful
/ upload-release (push) Successful in 4s

This commit is contained in:
André Menrath 2024-10-29 17:02:53 +01:00
parent df15c8610f
commit 6a931e38a4

View file

@ -8,6 +8,16 @@ jobs:
steps:
- uses: https://code.forgejo.org/actions/checkout@v4
- name: Remove Files Listed in .distignore
run: |
if [ -f .distignore ]; then
while IFS= read -r line; do
if [ -n "$line" ] && [ "${line:0:1}" != "#" ]; then
rm -rf "$line"
fi
done < .distignore
fi
- uses: https://code.forgejo.org/actions/forgejo-release@v2
with:
direction: upload