wordpress-activitypub-event.../.forgejo/workflows/release.yml
André Menrath 0bed532593
Some checks failed
/ upload-release (push) Failing after 4s
test release workflow
2024-10-29 15:41:22 +01:00

25 lines
592 B
YAML

on:
push:
tags: '*'
jobs:
upload-release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- 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: actions/forgejo-release@v1
with:
direction: upload
url: https://code.forgejo.org
release-notes: "MY RELEASE NOTES"