mirror of
https://github.com/MillironX/setup-nextflow.git
synced 2024-11-22 09:49:56 +00:00
chore: Add deprecation messages for GitHub API parameters
This commit is contained in:
parent
15cd07b8f0
commit
4fb3dae2b8
1 changed files with 4 additions and 0 deletions
|
@ -14,14 +14,18 @@ inputs:
|
||||||
description: "GitHub token to access the GitHub Releases API. The default token should be sufficient for all use cases."
|
description: "GitHub token to access the GitHub Releases API. The default token should be sufficient for all use cases."
|
||||||
required: false
|
required: false
|
||||||
default: ${{ github.token }}
|
default: ${{ github.token }}
|
||||||
|
deprecationMessage: "setup-nextflow@v2 will no longer use the GitHub API. A token will no longer be needed."
|
||||||
cooldown:
|
cooldown:
|
||||||
description: "Time (in seconds) to wait before querying the GitHub Releases API in the case of hitting a rate limit."
|
description: "Time (in seconds) to wait before querying the GitHub Releases API in the case of hitting a rate limit."
|
||||||
required: false
|
required: false
|
||||||
default: "60"
|
default: "60"
|
||||||
|
deprecationMessage: "setup-nextflow@v2 will no longer use the GitHub API. The cooldown will no longer apply."
|
||||||
max-retries:
|
max-retries:
|
||||||
description: "The number of times that to try querying the GitHub Releases API in case of a rate-limited failure."
|
description: "The number of times that to try querying the GitHub Releases API in case of a rate-limited failure."
|
||||||
required: false
|
required: false
|
||||||
default: "3"
|
default: "3"
|
||||||
|
deprecationMessage: "setup-nextflow@v2 will no longer use the GitHub API. The retry count will no longer apply."
|
||||||
|
|
||||||
runs:
|
runs:
|
||||||
using: "node16"
|
using: "node16"
|
||||||
main: "dist/index.js"
|
main: "dist/index.js"
|
||||||
|
|
Loading…
Reference in a new issue