This commit is contained in:
parent
67ea7f7b87
commit
08a1172f80
1 changed files with 4 additions and 13 deletions
|
@ -8,18 +8,9 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- uses: https://code.forgejo.org/actions/checkout@v4
|
- uses: https://code.forgejo.org/actions/checkout@v4
|
||||||
|
|
||||||
- name: Remove Files Listed in .distignore
|
- uses: https://code.forgejo.org/actions/forgejo-release@v2
|
||||||
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@v1
|
|
||||||
with:
|
with:
|
||||||
direction: upload
|
direction: upload
|
||||||
url: https://code.forgejo.org
|
url: https://code.event-federation.eu
|
||||||
token: ${{ FORGEJO_TOKEN }}
|
release-dir: dist/release
|
||||||
|
release-notes: "MY RELEASE NOTES"
|
||||||
|
|
Loading…
Reference in a new issue