diff --git a/CHANGELOG.md b/CHANGELOG.md index 810e3c5..1f784bb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [1.2.0] - 2022-10-29 + +## Added + +- `CAPSULE_LOG` is now set to 'none' for less verbose setup logs (#1/#2) + +## Fixed + +- Release list now paginates the API to find old versions of Nextflow (#3) + ## [1.1.0] - 2022-06-15 ### Changed @@ -27,7 +37,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - GitHub Actions workflow to test Nextflow installation and downstream usage - Documentation and license files -[unreleased]: https://github.com/MillironX/setup-nextflow/compare/v1.1.0...HEAD +[unreleased]: https://github.com/MillironX/setup-nextflow/compare/v1.2.0...HEAD +[1.2.0]: https://github.com/MillironX/setup-nextflow/compare/v1.1.1...v1.2.0 [1.1.0]: https://github.com/MillironX/setup-nextflow/compare/v1.0.1...v1.1.0 [1.0.1]: https://github.com/MillironX/setup-nextflow/compare/v1.0.0...v1.0.1 [1.0.0]: https://github.com/MillironX/setup-nextflow/releases/tag/v1.0.0 diff --git a/index.ts b/index.ts index 50eb337..4ff0043 100644 --- a/index.ts +++ b/index.ts @@ -9,9 +9,11 @@ import semver = require("semver"); const NEXTFLOW_REPO = { owner: "nextflow-io", repo: "nextflow" }; async function all_nf_releases(ok) { - const { data: releases } = await ok.rest.repos.listReleases(NEXTFLOW_REPO); - - return releases; + return await ok.paginate( + ok.rest.repos.listReleases, + NEXTFLOW_REPO, + (response) => response.data + ); } async function latest_stable_release_data(ok) { diff --git a/package-lock.json b/package-lock.json index 94c6e67..ada06ca 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "install-nextflow-action", - "version": "1.0.1", + "version": "1.2.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "install-nextflow-action", - "version": "1.0.1", + "version": "1.2.0", "license": "MIT", "dependencies": { "@actions/core": "^1.8.2", diff --git a/package.json b/package.json index 85c2909..f1498f2 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "install-nextflow-action", - "version": "1.1.0", + "version": "1.2.0", "description": "", "main": "dist/index.js", "scripts": {