Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
AnActualEmerald authored Aug 20, 2024
1 parent 1269a2e commit 0edabca
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 0edabca

Please sign in to comment.