add step tot remove distignore files
All checks were successful
/ upload-release (push) Successful in 4s
All checks were successful
/ upload-release (push) Successful in 4s
This commit is contained in:
parent
df15c8610f
commit
6a931e38a4
1 changed files with 10 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue