From 39501b1a89ced5db8a2c93798bd62e0a97486ade Mon Sep 17 00:00:00 2001 From: Paul van Tilburg Date: Sat, 10 Aug 2024 05:58:49 +0000 Subject: [PATCH] Add missing title input to the README (#21) This PR adds the `title` input to the README, added in #18. It also fixes small indentation errors that made the examples not look correctly. Closes #20. Reviewed-on: https://code.forgejo.org/actions/forgejo-release/pulls/21 Co-authored-by: Paul van Tilburg Co-committed-by: Paul van Tilburg --- README.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 13e5aac..4c52ba8 100644 --- a/README.md +++ b/README.md @@ -13,6 +13,7 @@ Upload or download the assets of a release to a Forgejo instance. | `url` |

URL of the Forgejo instance

| `false` | `""` | | `repo` |

owner/project relative to the URL

| `false` | `""` | | `tag` |

Tag of the release

| `false` | `""` | +| `title` |

Title of the release

| `false` | `""` | | `sha` |

SHA of the release

| `false` | `""` | | `token` |

Forgejo application token

| `true` | `""` | | `release-dir` |

Directory in whichs release assets are uploaded or downloaded

| `true` | `""` | @@ -40,8 +41,8 @@ jobs: - uses: actions/checkout@v3 - uses: actions/forgejo-release@v1 with: - direction: upload - url: https://code.forgejo.org + direction: upload + url: https://code.forgejo.org release-dir: dist/release release-notes: "MY RELEASE NOTES" ``` @@ -59,8 +60,8 @@ jobs: - uses: actions/checkout@v3 - uses: actions/forgejo-release@v1 with: - direction: download - url: https://code.forgejo.org + direction: download + url: https://code.forgejo.org repo: forgejo/forgejo tag: v1.21.4-0 release-dir: ./ # by default, files are downloaded into dist/release