From 0edabca9fe3fe522375ffab9f215d09eeedd611b Mon Sep 17 00:00:00 2001 From: AnActualEmerald Date: Tue, 20 Aug 2024 18:53:45 -0400 Subject: [PATCH] Update README.md --- README.md | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 93e722d..93b3d24 100644 --- a/README.md +++ b/README.md @@ -13,18 +13,19 @@ Github action that uses the thunderstore CLI to upload a package to thunderstore ```yml name: Publish Mod -# Run when a new release is... released +# Run when a new tag is pushed (ie. via GitHub release or `git tag`) on: - release: - types: [published] + push: + tags: + - '*' jobs: publish: runs-on: ubuntu-latest steps: # Use checkout to publish the files in your repo - - uses: actions/checkout@v3 - - uses: GreenTF/upload-thunderstore-package@v4.2 + - uses: actions/checkout@v4 + - uses: GreenTF/upload-thunderstore-package@v4.3 with: namespace: GreenTF # the thunderstore 'team' to publish under description: Test @@ -50,6 +51,7 @@ Figuring out how to refer to your community's categories can be somewhat confusi To find the categories available to your community, check out `https://thunderstore.io/api/experimental/community/YOUR_COMMUNITY/category/`, which will return a list of categories in a JSON format. Each category will have a `name` value and a `slug` value. The `slug` is the value you need to put in the `categories` list of the action. ### Example +On Linux with `jq` installed: ```bash curl -X GET "https://thunderstore.io/api/experimental/community/northstar/category/" -H "accept: application/json" | jq # 'jq' is a command line utility that formats JSON