Skip to content

Commit 63ab4f6

Browse files
authored
Deprecate api-domain (#39)
2 parents 8356d7a + 139fbf9 commit 63ab4f6

File tree

2 files changed

+12
-4
lines changed

2 files changed

+12
-4
lines changed

README.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,14 @@ steps:
1515

1616
## Inputs
1717

18-
### `api-domain`
18+
### ~~`api-domain`~~ (deprecated)
1919

20-
Modrinth API domain. For testing purposes you can set this to `staging-api.modrinth.com`.
21-
See [Modrinth Staging Server](https://staging.modrinth.com).
20+
The Modrinth API domain.
21+
22+
> [!WARNING]
23+
> The Modrinth Staging API is no longer recommended for testing or as a sandbox. Instead, consider creating a ‘draft’
24+
> project on the production API and deleting it after testing.
25+
> This input is scheduled for removal in `v3.0.0`.
2226
2327
<dl>
2428
<dt>Default</dt>

action.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,12 @@ description: Publish a version on Modrinth
33
inputs:
44
api-domain:
55
required: false
6-
description: Modrinth API domain. For testing purposes you can set this to `staging-api.modrinth.com`. See [Modrinth Staging Server](https://staging.modrinth.com)
6+
description: Modrinth API domain.
77
default: api.modrinth.com
8+
deprecationMessage: >
9+
The Modrinth Staging API is no longer recommended for testing or as a sandbox. Instead, consider creating a
10+
‘draft’ project on the production API and deleting it after testing. This input is scheduled for removal in
11+
`v3.0.0`.
812
token:
913
required: true
1014
description: Modrinth API token.

0 commit comments

Comments
 (0)