mirror of
https://github.com/MillironX/setup-nextflow.git
synced 2024-11-23 18:09:55 +00:00
Compare commits
33 commits
bb811ccf98
...
6d07f25101
Author | SHA1 | Date | |
---|---|---|---|
6d07f25101 | |||
ad89639887 | |||
65a3486a82 | |||
a0546498bf | |||
3b23b7abfe | |||
d3023422c1 | |||
eaeab23c1a | |||
5d1d40a4ea | |||
20ed9d58ea | |||
e8d313e9d2 | |||
34cd96c6c5 | |||
29edf6bed3 | |||
1927f1a07e | |||
21ad9d9cb6 | |||
525dd341cb | |||
31898fbe2b | |||
2145dbec41 | |||
243e2d8f57 | |||
76b5d90248 | |||
34b2731a55 | |||
e259f2a032 | |||
d4db5065bf | |||
f65f3889f1 | |||
92d5fbf3ef | |||
3fdf4e64ae | |||
f4e0bf4b97 | |||
34c114ad83 | |||
78ff7697d2 | |||
6174369e79 | |||
199dd22747 | |||
a4976909b6 | |||
74ebaacc41 | |||
222380fece |
7 changed files with 19 additions and 4 deletions
1
.actrc
1
.actrc
|
@ -1,2 +1,3 @@
|
|||
-P ubuntu-latest=catthehacker/ubuntu:act-latest
|
||||
-s GITHUB_TOKEN
|
||||
--container-architecture linux/amd64
|
||||
|
|
5
.vscode/launch.json
vendored
5
.vscode/launch.json
vendored
|
@ -13,7 +13,10 @@
|
|||
"outFiles": ["${workspaceFolder}/lib/**/*.js"],
|
||||
"env": {
|
||||
"INPUT_ALL": "false",
|
||||
"INPUT_VERSION": "v23.10",
|
||||
"INPUT_VERSION": "latest",
|
||||
"INPUT_TOKEN": "${env:GITHUB_TOKEN}",
|
||||
"INPUT_COOLDOWN": "60",
|
||||
"INPUT_MAX_RETRIES": "3",
|
||||
"RUNNER_TEMP": "${workspaceFolder}/.tmp"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -12,7 +12,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||
- CI workflow steps for better compatibility with <https://github.com/nektos/act>
|
||||
- Visual Studio Code debugging configuration
|
||||
- Husky pre-commit hooks for linting and formatting
|
||||
- Deprecation messages to warn users of upcoming API switch
|
||||
|
||||
### Changed
|
||||
|
||||
|
|
11
README.md
11
README.md
|
@ -60,6 +60,17 @@ There are three (technically four) aliases to assist in choosing up-to-date Next
|
|||
|
||||
A boolean deciding whether to download the "all versions" distribution of Nextflow. May be useful for running tests against multiple versions downstream.
|
||||
|
||||
### `token`
|
||||
|
||||
> **default: `${{ secrets.GITHUB_TOKEN }}`**
|
||||
|
||||
> **:warning: This really shouldn't be changed. If you think this will fix a workflow problem, triple-check everything else first. :warning:**
|
||||
|
||||
This action locates the releases based upon the GitHub API, and requires an access token. The default token provided with all GitHub actions should be sufficient for all use cases on GitHub. Valid reasons to change this:
|
||||
|
||||
- GitHub Enterprise server (and only under some configurations)
|
||||
- Testing workflows locally with [act](https://github.com/nektos/act)
|
||||
|
||||
## Outputs
|
||||
|
||||
There are no outputs from this action.
|
||||
|
|
BIN
dist/index.js
generated
vendored
BIN
dist/index.js
generated
vendored
Binary file not shown.
BIN
dist/index.js.map
generated
vendored
BIN
dist/index.js.map
generated
vendored
Binary file not shown.
|
@ -27,10 +27,11 @@ export async function get_nextflow_versions(): Promise<NextflowRelease[]> {
|
|||
const version_dataset = await fetch_nextflow_versions_data()
|
||||
const versions = version_dataset["versions"]
|
||||
const nextflow_releases: NextflowRelease[] = []
|
||||
for (const element of versions) {
|
||||
// eslint-disable-next-line github/array-foreach
|
||||
versions.array.forEach(element => {
|
||||
const release = element as NextflowRelease
|
||||
nextflow_releases.push(release)
|
||||
}
|
||||
})
|
||||
return nextflow_releases
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue