Compare commits

..

11 Commits

Author SHA1 Message Date
Alif Rachmawadi
40bc2f6940 bump version
Some checks failed
Main workflow / Run (ubuntu-latest) (push) Failing after 39m38s
Main workflow / Run (macos-latest) (push) Failing after 3s
Main workflow / Run (windows-latest) (push) Has been cancelled
2020-05-09 11:03:06 +07:00
Alif Rachmawadi
f0d790518f update dist 2020-05-09 10:37:01 +07:00
Alif Rachmawadi
c4a41752bd update dependencies 2020-05-09 10:36:22 +07:00
Alif Rachmawadi
929035d687 update test 2020-05-09 10:17:16 +07:00
Alif Rachmawadi
4bb529986f use channel for latest release 2020-05-09 09:46:10 +07:00
Alif Rachmawadi
ecb8eabe6f update tests 2020-05-09 09:43:40 +07:00
Alif Rachmawadi
cf426f9aa2 update release manifest 2020-05-09 09:43:05 +07:00
Alif Rachmawadi
794e42ad48 bump version: 1.3.1
Some checks failed
Main workflow / Run (macos-latest) (push) Failing after 3s
Main workflow / Run (ubuntu-latest) (push) Failing after 19m55s
Main workflow / Run (windows-latest) (push) Has been cancelled
2020-04-30 09:48:20 +07:00
Alif Rachmawadi
2dd537cc3f update dist 2020-04-30 09:47:38 +07:00
Alif Rachmawadi
3ba093556e Merge pull request #36 from subosito/dependabot/npm_and_yarn/actions/http-client-1.0.8
Bump @actions/http-client from 1.0.7 to 1.0.8
2020-04-30 09:45:20 +07:00
dependabot[bot]
9cde868c41 Bump @actions/http-client from 1.0.7 to 1.0.8
Bumps [@actions/http-client](https://github.com/actions/http-client) from 1.0.7 to 1.0.8.
- [Release notes](https://github.com/actions/http-client/releases)
- [Changelog](https://github.com/actions/http-client/blob/master/RELEASES.md)
- [Commits](https://github.com/actions/http-client/commits)

Signed-off-by: dependabot[bot] <support@github.com>
2020-04-29 18:01:31 +00:00
8 changed files with 2316 additions and 677 deletions

View File

@@ -1,18 +1,130 @@
{
"base_url": "https://storage.googleapis.com/flutter_infra/releases",
"current_release": {
"beta": "d3ed9ec945f8869f0e136c357d0c2a6be2b60c98",
"dev": "7f56b53de4e5da2147c4d30d857a72c6f2e4f42f",
"stable": "f139b11009aeb8ed2a3a3aa8b0066e482709dde3"
"beta": "e6b34c2b5c96bb95325269a29a84e83ed8909b5f",
"dev": "a849daf2836d653ef80e01f428531b3f787671cb",
"stable": "e6b34c2b5c96bb95325269a29a84e83ed8909b5f"
},
"releases": [
{
"hash": "a849daf2836d653ef80e01f428531b3f787671cb",
"channel": "dev",
"version": "1.19.0-0.0.pre",
"release_date": "2020-05-08T19:40:11.308167Z",
"archive": "dev/linux/flutter_linux_1.19.0-0.0.pre-dev.tar.xz",
"sha256": "42a5f53123b864927f884c85eaf9f2183daa67b2db6a0d35fe6a384af4efe309"
},
{
"hash": "8fbfe1cfbf6ac5c5c23930556e1019385005bf81",
"channel": "dev",
"version": "1.18.0-13.0.pre",
"release_date": "2020-05-07T17:15:45.535198Z",
"archive": "dev/linux/flutter_linux_1.18.0-13.0.pre-dev.tar.xz",
"sha256": "c55739c77a5ec42c07405d250fb503359c888a7a8f6d9c6f3230d859ed7813d8"
},
{
"hash": "c2b7342ca470b11cfaad4fbfb094f73aa4c85320",
"channel": "dev",
"version": "1.18.0-12.0.pre",
"release_date": "2020-05-06T22:11:06.703984Z",
"archive": "dev/linux/flutter_linux_1.18.0-12.0.pre-dev.tar.xz",
"sha256": "8cd4f14ddae89e14b54b6c3d7ba53e658f46872685340d70198456a8b15f7163"
},
{
"hash": "8568eda15b2527afd48622257cee3811e0d9da04",
"channel": "dev",
"version": "1.18.0-11.0.pre",
"release_date": "2020-05-06T18:45:38.119972Z",
"archive": "dev/linux/flutter_linux_1.18.0-11.0.pre-dev.tar.xz",
"sha256": "192c66e99e7b153544231d02d05e506d7b3550392a4df5b5b76abcaae94f1560"
},
{
"hash": "e6b34c2b5c96bb95325269a29a84e83ed8909b5f",
"channel": "stable",
"version": "1.17.0",
"release_date": "2020-05-06T14:34:15.140240Z",
"archive": "stable/linux/flutter_linux_1.17.0-stable.tar.xz",
"sha256": "8e46dae83f30d0d4e42e32ef467b201ddb9b90adb0349538cb7c4fe8d0a8b3ab"
},
{
"hash": "9b7b9d795edfdd12c6ad8dd6495bed789c1bac05",
"channel": "dev",
"version": "1.18.0-10.0.pre",
"release_date": "2020-05-06T01:46:06.990181Z",
"archive": "dev/linux/flutter_linux_1.18.0-10.0.pre-dev.tar.xz",
"sha256": "784f8e20f8739dfd301ccdcd77bf1beea3ed4eb4b02ca44ba9dae6a36a5ccfda"
},
{
"hash": "445570ba1ae89eecaf9409fb5acde7e8b49ee975",
"channel": "dev",
"version": "1.18.0-9.0.pre",
"release_date": "2020-05-05T23:13:38.294534Z",
"archive": "dev/linux/flutter_linux_1.18.0-9.0.pre-dev.tar.xz",
"sha256": "14203a17699bf80bf885e124cef2f4b341d85d5785ce8b1256e3784dbf9f1b77"
},
{
"hash": "e6b34c2b5c96bb95325269a29a84e83ed8909b5f",
"channel": "beta",
"version": "1.17.0-3.4.pre",
"release_date": "2020-05-02T20:36:26.070374Z",
"archive": "beta/linux/flutter_linux_1.17.0-3.4.pre-beta.tar.xz",
"sha256": "6521baa72c422dd5c1c9f95e8d98e97272c3276f6ceebda826b2d38715346aa5"
},
{
"hash": "0da1ab09224f6c6d69fcff1195a3662fe7ad7534",
"channel": "beta",
"version": "1.17.0-3.3.pre",
"release_date": "2020-04-29T00:00:51.503450Z",
"archive": "beta/linux/flutter_linux_1.17.0-3.3.pre-beta.tar.xz",
"sha256": "28ffc3c54544cf78b416761fb480ffd82bd49f9fc9571ba083d3337b4faf675a"
},
{
"hash": "e0c63cd35e15e407a80dc44281cc392535fcce25",
"channel": "dev",
"version": "1.18.0-8.0.pre",
"release_date": "2020-04-24T16:42:21.099303Z",
"archive": "dev/linux/flutter_linux_1.18.0-8.0.pre-dev.tar.xz",
"sha256": "e51099074ebbf0bde6d11161f62ff3414210dcf89298a401dcb9360387185389"
},
{
"hash": "d482163f59c49c32cb329beb2c3111c8e961d6b9",
"channel": "dev",
"version": "1.18.0-7.0.pre",
"release_date": "2020-04-24T13:01:43.529635Z",
"archive": "dev/linux/flutter_linux_1.18.0-7.0.pre-dev.tar.xz",
"sha256": "9e724a87d2627391249027125d46b0442c23e054f73ac7603634aeb8d94c548a"
},
{
"hash": "2a7bc389f28d83c581f7ddd4601588a22e12512e",
"channel": "beta",
"version": "1.17.0-3.2.pre",
"release_date": "2020-04-22T17:16:41.221090Z",
"archive": "beta/linux/flutter_linux_1.17.0-3.2.pre-beta.tar.xz",
"sha256": "9bae19fe9adf50ed01058ac287a48417a7c3354cec09daa3494d3b033c2dcd83"
},
{
"hash": "84c84fb24914e098667649be04614f6ea19d689c",
"channel": "dev",
"version": "1.18.0-6.0.pre",
"release_date": "2020-04-21T22:15:53.662665Z",
"archive": "dev/linux/flutter_linux_1.18.0-6.0.pre-dev.tar.xz",
"sha256": "4983ecc776316e678bed6742310d0c2c41fdc1b8748135ac9c5ae0571f2a82b5"
},
{
"hash": "f139b11009aeb8ed2a3a3aa8b0066e482709dde3",
"channel": "stable",
"version": "v1.12.13+hotfix.9",
"release_date": "2020-04-17T21:40:00.498256Z",
"archive": "stable/linux/flutter_linux_v1.12.13+hotfix.9-stable.tar.xz",
"sha256": "3f241c6237078338a0568d1e161f5d4b6d47ea3af377c9522d17223a9bb94c96"
},
{
"hash": "7f56b53de4e5da2147c4d30d857a72c6f2e4f42f",
"channel": "dev",
"version": "1.18.0-dev.5.0",
"release_date": "2020-04-13T16:16:16.135501Z",
"release_date": "2020-04-17T21:38:14.667745Z",
"archive": "dev/linux/flutter_linux_1.18.0-dev.5.0-dev.tar.xz",
"sha256": "7c6c396b31bc0e01f805c3aa64d149e642e4db7374e8838a080a8c7f19134c8b"
"sha256": "83d457e42c8d0d535a13001324d3deea88b8225a42753a9ac05ce0983f5c5637"
},
{
"hash": "8f7327f83a3e094285163ae402c6f94190fc1674",
@@ -94,14 +206,6 @@
"archive": "dev/linux/flutter_linux_1.17.0-dev.2.0-dev.tar.xz",
"sha256": "9c1c6f8435229005adeac06139dc16f90a4de17d8f9d4081ddf7b606406e3ce1"
},
{
"hash": "f139b11009aeb8ed2a3a3aa8b0066e482709dde3",
"channel": "stable",
"version": "v1.12.13+hotfix.9",
"release_date": "2020-04-01T22:21:46.878880Z",
"archive": "stable/linux/flutter_linux_v1.12.13+hotfix.9-stable.tar.xz",
"sha256": "3eb8f81d6077932d4bc05eb57146de06135095ea525130fc21f39759ebfe83e2"
},
{
"hash": "d14a301e419af7f3eff7cc3a49bf936c75d2b2f0",
"channel": "dev",

View File

@@ -1,18 +1,130 @@
{
"base_url": "https://storage.googleapis.com/flutter_infra/releases",
"current_release": {
"beta": "d3ed9ec945f8869f0e136c357d0c2a6be2b60c98",
"dev": "7f56b53de4e5da2147c4d30d857a72c6f2e4f42f",
"stable": "f139b11009aeb8ed2a3a3aa8b0066e482709dde3"
"beta": "e6b34c2b5c96bb95325269a29a84e83ed8909b5f",
"dev": "a849daf2836d653ef80e01f428531b3f787671cb",
"stable": "e6b34c2b5c96bb95325269a29a84e83ed8909b5f"
},
"releases": [
{
"hash": "a849daf2836d653ef80e01f428531b3f787671cb",
"channel": "dev",
"version": "1.19.0-0.0.pre",
"release_date": "2020-05-08T19:46:14.912454Z",
"archive": "dev/macos/flutter_macos_1.19.0-0.0.pre-dev.zip",
"sha256": "f6f76179ec0a41a4e2a0ffec86f597202a170b56c1f61fa77ca192bd20e91392"
},
{
"hash": "8fbfe1cfbf6ac5c5c23930556e1019385005bf81",
"channel": "dev",
"version": "1.18.0-13.0.pre",
"release_date": "2020-05-07T17:09:23.786153Z",
"archive": "dev/macos/flutter_macos_1.18.0-13.0.pre-dev.zip",
"sha256": "28fad6caa962f39e7812036d618177dde622bc31db439e20fc2b858033bf8bab"
},
{
"hash": "c2b7342ca470b11cfaad4fbfb094f73aa4c85320",
"channel": "dev",
"version": "1.18.0-12.0.pre",
"release_date": "2020-05-06T22:16:10.230309Z",
"archive": "dev/macos/flutter_macos_1.18.0-12.0.pre-dev.zip",
"sha256": "700dfa145ce14252f6e2c5de8c90eae5b59fc0754a13eabcae7cb96a6db6def7"
},
{
"hash": "8568eda15b2527afd48622257cee3811e0d9da04",
"channel": "dev",
"version": "1.18.0-11.0.pre",
"release_date": "2020-05-06T18:38:24.827439Z",
"archive": "dev/macos/flutter_macos_1.18.0-11.0.pre-dev.zip",
"sha256": "d19ac11a33463f93b68ba5d4a703af00db35e3cb1b192d09aa859963f7829909"
},
{
"hash": "e6b34c2b5c96bb95325269a29a84e83ed8909b5f",
"channel": "stable",
"version": "1.17.0",
"release_date": "2020-05-06T14:26:41.824920Z",
"archive": "stable/macos/flutter_macos_1.17.0-stable.zip",
"sha256": "0105b4c12d8c5d5f548befd0eabcd633a2ae8cea686635b199ff363337d756a5"
},
{
"hash": "9b7b9d795edfdd12c6ad8dd6495bed789c1bac05",
"channel": "dev",
"version": "1.18.0-10.0.pre",
"release_date": "2020-05-06T01:38:25.613571Z",
"archive": "dev/macos/flutter_macos_1.18.0-10.0.pre-dev.zip",
"sha256": "5353ed9558ffc67615cfc50936b2a9d04735eac29d79ed00e8700fe98c6dc4e2"
},
{
"hash": "445570ba1ae89eecaf9409fb5acde7e8b49ee975",
"channel": "dev",
"version": "1.18.0-9.0.pre",
"release_date": "2020-05-05T23:05:01.013229Z",
"archive": "dev/macos/flutter_macos_1.18.0-9.0.pre-dev.zip",
"sha256": "b93996bf6bec930ca035bec0d5be2511a902fc98f2189c483dbeeb8c959dc6cc"
},
{
"hash": "e6b34c2b5c96bb95325269a29a84e83ed8909b5f",
"channel": "beta",
"version": "1.17.0-3.4.pre",
"release_date": "2020-05-02T20:29:29.123505Z",
"archive": "beta/macos/flutter_macos_1.17.0-3.4.pre-beta.zip",
"sha256": "fa89547b82b589d0ab5af735b6d0325e8ef75b877e62d92bc93693fb5b878022"
},
{
"hash": "0da1ab09224f6c6d69fcff1195a3662fe7ad7534",
"channel": "beta",
"version": "1.17.0-3.3.pre",
"release_date": "2020-04-28T23:56:09.473354Z",
"archive": "beta/macos/flutter_macos_1.17.0-3.3.pre-beta.zip",
"sha256": "c3347b036a2367c1d5c3637f3c537a3b7989802b2a137ecb72ec962ba4c35a04"
},
{
"hash": "e0c63cd35e15e407a80dc44281cc392535fcce25",
"channel": "dev",
"version": "1.18.0-8.0.pre",
"release_date": "2020-04-24T16:36:14.866671Z",
"archive": "dev/macos/flutter_macos_1.18.0-8.0.pre-dev.zip",
"sha256": "533bad8371ec7a25b3d87ec6f5c568cc74fdf030d0318d0a12e5778764b68a46"
},
{
"hash": "d482163f59c49c32cb329beb2c3111c8e961d6b9",
"channel": "dev",
"version": "1.18.0-7.0.pre",
"release_date": "2020-04-24T12:53:53.875600Z",
"archive": "dev/macos/flutter_macos_1.18.0-7.0.pre-dev.zip",
"sha256": "c9e7074775177d367cba352c3f874c0dce5d5d714ab26247cafbbff68ad7e7ab"
},
{
"hash": "2a7bc389f28d83c581f7ddd4601588a22e12512e",
"channel": "beta",
"version": "1.17.0-3.2.pre",
"release_date": "2020-04-22T17:09:29.829025Z",
"archive": "beta/macos/flutter_macos_1.17.0-3.2.pre-beta.zip",
"sha256": "d4b64277f3a3cd08ac43c3e7462351a5f00f627da263ab9d7cd3f0086032714e"
},
{
"hash": "84c84fb24914e098667649be04614f6ea19d689c",
"channel": "dev",
"version": "1.18.0-6.0.pre",
"release_date": "2020-04-21T22:07:36.080108Z",
"archive": "dev/macos/flutter_macos_1.18.0-6.0.pre-dev.zip",
"sha256": "46f637fbec5ae2f97439ca251a3abd34916ae19c0dfd81a1dd46f80234647d5d"
},
{
"hash": "f139b11009aeb8ed2a3a3aa8b0066e482709dde3",
"channel": "stable",
"version": "v1.12.13+hotfix.9",
"release_date": "2020-04-17T21:31:56.721907Z",
"archive": "stable/macos/flutter_macos_v1.12.13+hotfix.9-stable.zip",
"sha256": "395c44e40399150cddf459216ac4e4d70a1c20b48ac8476576a8b36230c3701e"
},
{
"hash": "7f56b53de4e5da2147c4d30d857a72c6f2e4f42f",
"channel": "dev",
"version": "1.18.0-dev.5.0",
"release_date": "2020-04-13T16:08:09.027549Z",
"release_date": "2020-04-17T21:29:59.523842Z",
"archive": "dev/macos/flutter_macos_1.18.0-dev.5.0-dev.zip",
"sha256": "74419b298d1b0b473f61763d781be208e7f938b169e56cef42b513212f2be3d2"
"sha256": "58966488e5bcd8fff81850796a3c18017dc8768c2815cbe47451c1cd2797f52a"
},
{
"hash": "8f7327f83a3e094285163ae402c6f94190fc1674",
@@ -94,14 +206,6 @@
"archive": "dev/macos/flutter_macos_1.17.0-dev.2.0-dev.zip",
"sha256": "d77264e29b6c9cfe7f32d2ebf01b0ade1997ad418a6e486f1c6a516f422900d1"
},
{
"hash": "f139b11009aeb8ed2a3a3aa8b0066e482709dde3",
"channel": "stable",
"version": "v1.12.13+hotfix.9",
"release_date": "2020-04-01T22:11:43.043754Z",
"archive": "stable/macos/flutter_macos_v1.12.13+hotfix.9-stable.zip",
"sha256": "b92ee92b9e8dce901c2425985b3f4a5f9fc8a7d80cb3970c86241c83e70f1a1d"
},
{
"hash": "d14a301e419af7f3eff7cc3a49bf936c75d2b2f0",
"channel": "dev",

View File

@@ -1,11 +1,123 @@
{
"base_url": "https://storage.googleapis.com/flutter_infra/releases",
"current_release": {
"beta": "d3ed9ec945f8869f0e136c357d0c2a6be2b60c98",
"dev": "7f56b53de4e5da2147c4d30d857a72c6f2e4f42f",
"stable": "f139b11009aeb8ed2a3a3aa8b0066e482709dde3"
"beta": "e6b34c2b5c96bb95325269a29a84e83ed8909b5f",
"dev": "a849daf2836d653ef80e01f428531b3f787671cb",
"stable": "e6b34c2b5c96bb95325269a29a84e83ed8909b5f"
},
"releases": [
{
"hash": "a849daf2836d653ef80e01f428531b3f787671cb",
"channel": "dev",
"version": "1.19.0-0.0.pre",
"release_date": "2020-05-08T19:35:59.773728Z",
"archive": "dev/windows/flutter_windows_1.19.0-0.0.pre-dev.zip",
"sha256": "a4d6913f42e972b0263b996f91337a973928f03c9bdc13f2fbaef1f644e8713a"
},
{
"hash": "8fbfe1cfbf6ac5c5c23930556e1019385005bf81",
"channel": "dev",
"version": "1.18.0-13.0.pre",
"release_date": "2020-05-07T17:11:57.281903Z",
"archive": "dev/windows/flutter_windows_1.18.0-13.0.pre-dev.zip",
"sha256": "c5dc98f69d162d647bd82a5cb9b313b039d27c95689934dc65ef2ec8f94899ab"
},
{
"hash": "c2b7342ca470b11cfaad4fbfb094f73aa4c85320",
"channel": "dev",
"version": "1.18.0-12.0.pre",
"release_date": "2020-05-06T22:10:51.076262Z",
"archive": "dev/windows/flutter_windows_1.18.0-12.0.pre-dev.zip",
"sha256": "34d0b8cc3861ac7e84a702f8de4872664a4579dbb00001214bda1480580f9b03"
},
{
"hash": "8568eda15b2527afd48622257cee3811e0d9da04",
"channel": "dev",
"version": "1.18.0-11.0.pre",
"release_date": "2020-05-06T18:40:51.838982Z",
"archive": "dev/windows/flutter_windows_1.18.0-11.0.pre-dev.zip",
"sha256": "34afaa4ebf89bbd57c42ab11a8900030fcbb4c2d24214ad17716bb5ac8bb001a"
},
{
"hash": "e6b34c2b5c96bb95325269a29a84e83ed8909b5f",
"channel": "stable",
"version": "1.17.0",
"release_date": "2020-05-06T14:30:41.659932Z",
"archive": "stable/windows/flutter_windows_1.17.0-stable.zip",
"sha256": "b6e8ca43b046d1a10cfb995b8c63828c8fbe35bb55e9c58349982810d57b2681"
},
{
"hash": "9b7b9d795edfdd12c6ad8dd6495bed789c1bac05",
"channel": "dev",
"version": "1.18.0-10.0.pre",
"release_date": "2020-05-06T01:41:30.981078Z",
"archive": "dev/windows/flutter_windows_1.18.0-10.0.pre-dev.zip",
"sha256": "06b941331ff98b48ef338932cabe417660b81eb7e1e704ef01475fac040a2d2e"
},
{
"hash": "445570ba1ae89eecaf9409fb5acde7e8b49ee975",
"channel": "dev",
"version": "1.18.0-9.0.pre",
"release_date": "2020-05-05T23:08:24.569649Z",
"archive": "dev/windows/flutter_windows_1.18.0-9.0.pre-dev.zip",
"sha256": "ebd24de7f2df084ea44e971018149041ccafdb503ff7b72a49c1de53748c1fb8"
},
{
"hash": "e6b34c2b5c96bb95325269a29a84e83ed8909b5f",
"channel": "beta",
"version": "1.17.0-3.4.pre",
"release_date": "2020-05-02T20:33:14.297290Z",
"archive": "beta/windows/flutter_windows_1.17.0-3.4.pre-beta.zip",
"sha256": "9120c5044fbbec16b639b2a5256f37fd0774e976798ff5aa44b9ecbc4c173152"
},
{
"hash": "0da1ab09224f6c6d69fcff1195a3662fe7ad7534",
"channel": "beta",
"version": "1.17.0-3.3.pre",
"release_date": "2020-04-28T23:59:31.178024Z",
"archive": "beta/windows/flutter_windows_1.17.0-3.3.pre-beta.zip",
"sha256": "561ace7f7cb60e496da6e918f36aa88c494f40faeffa5567ef728b3b9e4f8654"
},
{
"hash": "e0c63cd35e15e407a80dc44281cc392535fcce25",
"channel": "dev",
"version": "1.18.0-8.0.pre",
"release_date": "2020-04-24T16:37:39.453303Z",
"archive": "dev/windows/flutter_windows_1.18.0-8.0.pre-dev.zip",
"sha256": "ff85e425d739e21d2f270f30f2600a40989d71d962bee56da222ac1eb8e0a0da"
},
{
"hash": "d482163f59c49c32cb329beb2c3111c8e961d6b9",
"channel": "dev",
"version": "1.18.0-7.0.pre",
"release_date": "2020-04-24T12:57:12.193500Z",
"archive": "dev/windows/flutter_windows_1.18.0-7.0.pre-dev.zip",
"sha256": "64b4d6ca0ac3cf86c60af935274224ce3f269e710b8e4f02b06f7d0f05227028"
},
{
"hash": "2a7bc389f28d83c581f7ddd4601588a22e12512e",
"channel": "beta",
"version": "1.17.0-3.2.pre",
"release_date": "2020-04-22T17:11:39.904570Z",
"archive": "beta/windows/flutter_windows_1.17.0-3.2.pre-beta.zip",
"sha256": "a249672dfec50eeb20bbe9e32e2cc17a5de80f7c52b1f8592e2125ab3233907d"
},
{
"hash": "84c84fb24914e098667649be04614f6ea19d689c",
"channel": "dev",
"version": "1.18.0-6.0.pre",
"release_date": "2020-04-21T22:10:28.586548Z",
"archive": "dev/windows/flutter_windows_1.18.0-6.0.pre-dev.zip",
"sha256": "aa287dc96d946fb2624421f4920e8633b22f04e4cd94978a698b5db0f4334f14"
},
{
"hash": "f139b11009aeb8ed2a3a3aa8b0066e482709dde3",
"channel": "stable",
"version": "v1.12.13+hotfix.9",
"release_date": "2020-04-17T21:33:52.442843Z",
"archive": "stable/windows/flutter_windows_v1.12.13+hotfix.9-stable.zip",
"sha256": "6d1a7dd628514e3b089c15ead3db715781b1f8129403b7082d214d8c30adf3c2"
},
{
"hash": "7f56b53de4e5da2147c4d30d857a72c6f2e4f42f",
"channel": "dev",
@@ -94,14 +206,6 @@
"archive": "dev/windows/flutter_windows_1.17.0-dev.2.0-dev.zip",
"sha256": "effe8c03100acafb7e2ea7aa431adb85f9216a844b484aa44aed5e486c299c4c"
},
{
"hash": "f139b11009aeb8ed2a3a3aa8b0066e482709dde3",
"channel": "stable",
"version": "v1.12.13+hotfix.9",
"release_date": "2020-04-01T22:15:29.166915Z",
"archive": "stable/windows/flutter_windows_v1.12.13+hotfix.9-stable.zip",
"sha256": "1ba843d06c71e09aef35f6766d43503388922e97b177ed5998b18ae971ad24ed"
},
{
"hash": "d14a301e419af7f3eff7cc3a49bf936c75d2b2f0",
"channel": "dev",

View File

@@ -65,12 +65,7 @@ describe('installer tests', () => {
it('Downloads latest flutter release from stable channel', async () => {
await installer.getFlutter('', 'stable');
const sdkDir = path.join(
toolDir,
'flutter',
'1.12.13-hotfix.9-stable',
'x64'
);
const sdkDir = path.join(toolDir, 'flutter', '1.17.0-stable', 'x64');
expect(fs.existsSync(`${sdkDir}.complete`)).toBe(true);
expect(fs.existsSync(path.join(sdkDir, 'bin'))).toBe(true);
@@ -81,7 +76,7 @@ describe('installer tests', () => {
const sdkDir = path.join(
toolDir,
'flutter',
'1.17.0-dev.3.1-beta',
'1.17.0-3.4.pre-beta',
'x64'
);
@@ -105,9 +100,9 @@ describe('installer tests', () => {
expect(fs.existsSync(path.join(sdkDir, 'bin'))).toBe(true);
}, 300000);
it('Downloads latest flutter release of 1.18 when using version 1.18.x from dev channel (using new release format)', async () => {
await installer.getFlutter('1.18.x', 'dev');
const sdkDir = path.join(toolDir, 'flutter', '1.18.0-dev.5.0-dev', 'x64');
it('Downloads latest flutter release of 1.17 when using version 1.17.x from dev channel (using new release format)', async () => {
await installer.getFlutter('1.17.x', 'dev');
const sdkDir = path.join(toolDir, 'flutter', '1.17.0-dev.5.0-dev', 'x64');
expect(fs.existsSync(`${sdkDir}.complete`)).toBe(true);
expect(fs.existsSync(path.join(sdkDir, 'bin'))).toBe(true);

246
dist/index.js vendored
View File

@@ -354,13 +354,20 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
step((generator = generator.apply(thisArg, _arguments || [])).next());
});
};
var __importStar = (this && this.__importStar) || function (mod) {
if (mod && mod.__esModule) return mod;
var result = {};
if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];
result["default"] = mod;
return result;
};
Object.defineProperty(exports, "__esModule", { value: true });
const os = __webpack_require__(87);
const events = __webpack_require__(614);
const child = __webpack_require__(129);
const path = __webpack_require__(622);
const io = __webpack_require__(1);
const ioUtil = __webpack_require__(672);
const os = __importStar(__webpack_require__(87));
const events = __importStar(__webpack_require__(614));
const child = __importStar(__webpack_require__(129));
const path = __importStar(__webpack_require__(622));
const io = __importStar(__webpack_require__(1));
const ioUtil = __importStar(__webpack_require__(672));
/* eslint-disable @typescript-eslint/unbound-method */
const IS_WINDOWS = process.platform === 'win32';
/*
@@ -804,6 +811,12 @@ class ToolRunner extends events.EventEmitter {
resolve(exitCode);
}
});
if (this.options.input) {
if (!cp.stdin) {
throw new Error('child process missing stdin');
}
cp.stdin.end(this.options.input);
}
});
});
}
@@ -1452,11 +1465,11 @@ const parseComparator = (comp, options) => {
const isX = id => !id || id.toLowerCase() === 'x' || id === '*'
// ~, ~> --> * (any, kinda silly)
// ~2, ~2.x, ~2.x.x, ~>2, ~>2.x ~>2.x.x --> >=2.0.0 <3.0.0
// ~2.0, ~2.0.x, ~>2.0, ~>2.0.x --> >=2.0.0 <2.1.0
// ~1.2, ~1.2.x, ~>1.2, ~>1.2.x --> >=1.2.0 <1.3.0
// ~1.2.3, ~>1.2.3 --> >=1.2.3 <1.3.0
// ~1.2.0, ~>1.2.0 --> >=1.2.0 <1.3.0
// ~2, ~2.x, ~2.x.x, ~>2, ~>2.x ~>2.x.x --> >=2.0.0 <3.0.0-0
// ~2.0, ~2.0.x, ~>2.0, ~>2.0.x --> >=2.0.0 <2.1.0-0
// ~1.2, ~1.2.x, ~>1.2, ~>1.2.x --> >=1.2.0 <1.3.0-0
// ~1.2.3, ~>1.2.3 --> >=1.2.3 <1.3.0-0
// ~1.2.0, ~>1.2.0 --> >=1.2.0 <1.3.0-0
const replaceTildes = (comp, options) =>
comp.trim().split(/\s+/).map((comp) => {
return replaceTilde(comp, options)
@@ -1471,18 +1484,18 @@ const replaceTilde = (comp, options) => {
if (isX(M)) {
ret = ''
} else if (isX(m)) {
ret = `>=${M}.0.0 <${+M + 1}.0.0`
ret = `>=${M}.0.0 <${+M + 1}.0.0-0`
} else if (isX(p)) {
// ~1.2 == >=1.2.0 <1.3.0
ret = `>=${M}.${m}.0 <${M}.${+m + 1}.0`
// ~1.2 == >=1.2.0 <1.3.0-0
ret = `>=${M}.${m}.0 <${M}.${+m + 1}.0-0`
} else if (pr) {
debug('replaceTilde pr', pr)
ret = `>=${M}.${m}.${p}-${pr
} <${M}.${+m + 1}.0`
} <${M}.${+m + 1}.0-0`
} else {
// ~1.2.3 == >=1.2.3 <1.3.0
// ~1.2.3 == >=1.2.3 <1.3.0-0
ret = `>=${M}.${m}.${p
} <${M}.${+m + 1}.0`
} <${M}.${+m + 1}.0-0`
}
debug('tilde return', ret)
@@ -1491,11 +1504,11 @@ const replaceTilde = (comp, options) => {
}
// ^ --> * (any, kinda silly)
// ^2, ^2.x, ^2.x.x --> >=2.0.0 <3.0.0
// ^2.0, ^2.0.x --> >=2.0.0 <3.0.0
// ^1.2, ^1.2.x --> >=1.2.0 <2.0.0
// ^1.2.3 --> >=1.2.3 <2.0.0
// ^1.2.0 --> >=1.2.0 <2.0.0
// ^2, ^2.x, ^2.x.x --> >=2.0.0 <3.0.0-0
// ^2.0, ^2.0.x --> >=2.0.0 <3.0.0-0
// ^1.2, ^1.2.x --> >=1.2.0 <2.0.0-0
// ^1.2.3 --> >=1.2.3 <2.0.0-0
// ^1.2.0 --> >=1.2.0 <2.0.0-0
const replaceCarets = (comp, options) =>
comp.trim().split(/\s+/).map((comp) => {
return replaceCaret(comp, options)
@@ -1512,40 +1525,40 @@ const replaceCaret = (comp, options) => {
if (isX(M)) {
ret = ''
} else if (isX(m)) {
ret = `>=${M}.0.0${z} <${+M + 1}.0.0${z}`
ret = `>=${M}.0.0${z} <${+M + 1}.0.0-0`
} else if (isX(p)) {
if (M === '0') {
ret = `>=${M}.${m}.0${z} <${M}.${+m + 1}.0${z}`
ret = `>=${M}.${m}.0${z} <${M}.${+m + 1}.0-0`
} else {
ret = `>=${M}.${m}.0${z} <${+M + 1}.0.0${z}`
ret = `>=${M}.${m}.0${z} <${+M + 1}.0.0-0`
}
} else if (pr) {
debug('replaceCaret pr', pr)
if (M === '0') {
if (m === '0') {
ret = `>=${M}.${m}.${p}-${pr
} <${M}.${m}.${+p + 1}${z}`
} <${M}.${m}.${+p + 1}-0`
} else {
ret = `>=${M}.${m}.${p}-${pr
} <${M}.${+m + 1}.0${z}`
} <${M}.${+m + 1}.0-0`
}
} else {
ret = `>=${M}.${m}.${p}-${pr
} <${+M + 1}.0.0${z}`
} <${+M + 1}.0.0-0`
}
} else {
debug('no pr')
if (M === '0') {
if (m === '0') {
ret = `>=${M}.${m}.${p
}${z} <${M}.${m}.${+p + 1}${z}`
}${z} <${M}.${m}.${+p + 1}-0`
} else {
ret = `>=${M}.${m}.${p
}${z} <${M}.${+m + 1}.0${z}`
}${z} <${M}.${+m + 1}.0-0`
}
} else {
ret = `>=${M}.${m}.${p
} <${+M + 1}.0.0${z}`
} <${+M + 1}.0.0-0`
}
}
@@ -1618,12 +1631,15 @@ const replaceXRange = (comp, options) => {
}
}
if (gtlt === '<')
pr = '-0'
ret = `${gtlt + M}.${m}.${p}${pr}`
} else if (xm) {
ret = `>=${M}.0.0${pr} <${+M + 1}.0.0${pr}`
ret = `>=${M}.0.0${pr} <${+M + 1}.0.0-0`
} else if (xp) {
ret = `>=${M}.${m}.0${pr
} <${M}.${+m + 1}.0${pr}`
} <${M}.${+m + 1}.0-0`
}
debug('xRange return', ret)
@@ -1649,8 +1665,8 @@ const replaceGTE0 = (comp, options) => {
// This function is passed to string.replace(re[t.HYPHENRANGE])
// M, m, patch, prerelease, build
// 1.2 - 3.4.5 => >=1.2.0 <=3.4.5
// 1.2.3 - 3.4 => >=1.2.0 <3.5.0 Any 3.4.x will do
// 1.2 - 3.4 => >=1.2.0 <3.5.0
// 1.2.3 - 3.4 => >=1.2.0 <3.5.0-0 Any 3.4.x will do
// 1.2 - 3.4 => >=1.2.0 <3.5.0-0
const hyphenReplace = incPr => ($0,
from, fM, fm, fp, fpr, fb,
to, tM, tm, tp, tpr, tb) => {
@@ -1669,9 +1685,9 @@ const hyphenReplace = incPr => ($0,
if (isX(tM)) {
to = ''
} else if (isX(tm)) {
to = `<${+tM + 1}.0.0${incPr ? '-0' : ''}`
to = `<${+tM + 1}.0.0-0`
} else if (isX(tp)) {
to = `<${tM}.${+tm + 1}.0${incPr ? '-0' : ''}`
to = `<${tM}.${+tm + 1}.0-0`
} else if (tpr) {
to = `<=${tM}.${tm}.${tp}-${tpr}`
} else if (incPr) {
@@ -2418,14 +2434,28 @@ class Command {
return cmdStr;
}
}
/**
* Sanitizes an input into a string so it can be passed into issueCommand safely
* @param input input to sanitize into a string
*/
function toCommandValue(input) {
if (input === null || input === undefined) {
return '';
}
else if (typeof input === 'string' || input instanceof String) {
return input;
}
return JSON.stringify(input);
}
exports.toCommandValue = toCommandValue;
function escapeData(s) {
return (s || '')
return toCommandValue(s)
.replace(/%/g, '%25')
.replace(/\r/g, '%0D')
.replace(/\n/g, '%0A');
}
function escapeProperty(s) {
return (s || '')
return toCommandValue(s)
.replace(/%/g, '%25')
.replace(/\r/g, '%0D')
.replace(/\n/g, '%0A')
@@ -2582,11 +2612,13 @@ var ExitCode;
/**
* Sets env variable for this action and future actions in the job
* @param name the name of the variable to set
* @param val the value of the variable
* @param val the value of the variable. Non-string values will be converted to a string via JSON.stringify
*/
// eslint-disable-next-line @typescript-eslint/no-explicit-any
function exportVariable(name, val) {
process.env[name] = val;
command_1.issueCommand('set-env', { name }, val);
const convertedVal = command_1.toCommandValue(val);
process.env[name] = convertedVal;
command_1.issueCommand('set-env', { name }, convertedVal);
}
exports.exportVariable = exportVariable;
/**
@@ -2625,12 +2657,22 @@ exports.getInput = getInput;
* Sets the value of an output.
*
* @param name name of the output to set
* @param value value to store
* @param value value to store. Non-string values will be converted to a string via JSON.stringify
*/
// eslint-disable-next-line @typescript-eslint/no-explicit-any
function setOutput(name, value) {
command_1.issueCommand('set-output', { name }, value);
}
exports.setOutput = setOutput;
/**
* Enables or disables the echoing of commands into stdout for the rest of the step.
* Echoing is disabled by default if ACTIONS_STEP_DEBUG is not set.
*
*/
function setCommandEcho(enabled) {
command_1.issue('echo', enabled ? 'on' : 'off');
}
exports.setCommandEcho = setCommandEcho;
//-----------------------------------------------------------------------
// Results
//-----------------------------------------------------------------------
@@ -2664,18 +2706,18 @@ function debug(message) {
exports.debug = debug;
/**
* Adds an error issue
* @param message error issue message
* @param message error issue message. Errors will be converted to string via toString()
*/
function error(message) {
command_1.issue('error', message);
command_1.issue('error', message instanceof Error ? message.toString() : message);
}
exports.error = error;
/**
* Adds an warning issue
* @param message warning issue message
* @param message warning issue message. Errors will be converted to string via toString()
*/
function warning(message) {
command_1.issue('warning', message);
command_1.issue('warning', message instanceof Error ? message.toString() : message);
}
exports.warning = warning;
/**
@@ -2733,8 +2775,9 @@ exports.group = group;
* Saves state for current action, the state can only be retrieved by this action's post job execution.
*
* @param name name of the state to store
* @param value value to store
* @param value value to store. Non-string values will be converted to a string via JSON.stringify
*/
// eslint-disable-next-line @typescript-eslint/no-explicit-any
function saveState(name, value) {
command_1.issueCommand('save-state', { name }, value);
}
@@ -3480,8 +3523,18 @@ function getProxyUrl(serverUrl) {
return proxyUrl ? proxyUrl.href : '';
}
exports.getProxyUrl = getProxyUrl;
const HttpRedirectCodes = [HttpCodes.MovedPermanently, HttpCodes.ResourceMoved, HttpCodes.SeeOther, HttpCodes.TemporaryRedirect, HttpCodes.PermanentRedirect];
const HttpResponseRetryCodes = [HttpCodes.BadGateway, HttpCodes.ServiceUnavailable, HttpCodes.GatewayTimeout];
const HttpRedirectCodes = [
HttpCodes.MovedPermanently,
HttpCodes.ResourceMoved,
HttpCodes.SeeOther,
HttpCodes.TemporaryRedirect,
HttpCodes.PermanentRedirect
];
const HttpResponseRetryCodes = [
HttpCodes.BadGateway,
HttpCodes.ServiceUnavailable,
HttpCodes.GatewayTimeout
];
const RetryableHttpVerbs = ['OPTIONS', 'GET', 'DELETE', 'HEAD'];
const ExponentialBackoffCeiling = 10;
const ExponentialBackoffTimeSlice = 5;
@@ -3606,18 +3659,22 @@ class HttpClient {
*/
async request(verb, requestUrl, data, headers) {
if (this._disposed) {
throw new Error("Client has already been disposed.");
throw new Error('Client has already been disposed.');
}
let parsedUrl = url.parse(requestUrl);
let info = this._prepareRequest(verb, parsedUrl, headers);
// Only perform retries on reads since writes may not be idempotent.
let maxTries = (this._allowRetries && RetryableHttpVerbs.indexOf(verb) != -1) ? this._maxRetries + 1 : 1;
let maxTries = this._allowRetries && RetryableHttpVerbs.indexOf(verb) != -1
? this._maxRetries + 1
: 1;
let numTries = 0;
let response;
while (numTries < maxTries) {
response = await this.requestRaw(info, data);
// Check if it's an authentication challenge
if (response && response.message && response.message.statusCode === HttpCodes.Unauthorized) {
if (response &&
response.message &&
response.message.statusCode === HttpCodes.Unauthorized) {
let authenticationHandler;
for (let i = 0; i < this.handlers.length; i++) {
if (this.handlers[i].canHandleAuthentication(response)) {
@@ -3635,21 +3692,32 @@ class HttpClient {
}
}
let redirectsRemaining = this._maxRedirects;
while (HttpRedirectCodes.indexOf(response.message.statusCode) != -1
&& this._allowRedirects
&& redirectsRemaining > 0) {
const redirectUrl = response.message.headers["location"];
while (HttpRedirectCodes.indexOf(response.message.statusCode) != -1 &&
this._allowRedirects &&
redirectsRemaining > 0) {
const redirectUrl = response.message.headers['location'];
if (!redirectUrl) {
// if there's no location to redirect to, we won't
break;
}
let parsedRedirectUrl = url.parse(redirectUrl);
if (parsedUrl.protocol == 'https:' && parsedUrl.protocol != parsedRedirectUrl.protocol && !this._allowRedirectDowngrade) {
throw new Error("Redirect from HTTPS to HTTP protocol. This downgrade is not allowed for security reasons. If you want to allow this behavior, set the allowRedirectDowngrade option to true.");
if (parsedUrl.protocol == 'https:' &&
parsedUrl.protocol != parsedRedirectUrl.protocol &&
!this._allowRedirectDowngrade) {
throw new Error('Redirect from HTTPS to HTTP protocol. This downgrade is not allowed for security reasons. If you want to allow this behavior, set the allowRedirectDowngrade option to true.');
}
// we need to finish reading the response before reassigning response
// which will leak the open socket.
await response.readBody();
// strip authorization header if redirected to a different hostname
if (parsedRedirectUrl.hostname !== parsedUrl.hostname) {
for (let header in headers) {
// header names are case insensitive
if (header.toLowerCase() === 'authorization') {
delete headers[header];
}
}
}
// let's make the request with the new redirectUrl
info = this._prepareRequest(verb, parsedRedirectUrl, headers);
response = await this.requestRaw(info, data);
@@ -3700,8 +3768,8 @@ class HttpClient {
*/
requestRawWithCallback(info, data, onResult) {
let socket;
if (typeof (data) === 'string') {
info.options.headers["Content-Length"] = Buffer.byteLength(data, 'utf8');
if (typeof data === 'string') {
info.options.headers['Content-Length'] = Buffer.byteLength(data, 'utf8');
}
let callbackCalled = false;
let handleResult = (err, res) => {
@@ -3714,7 +3782,7 @@ class HttpClient {
let res = new HttpClientResponse(msg);
handleResult(null, res);
});
req.on('socket', (sock) => {
req.on('socket', sock => {
socket = sock;
});
// If we ever get disconnected, we want the socket to timeout eventually
@@ -3729,10 +3797,10 @@ class HttpClient {
// res should have headers
handleResult(err, null);
});
if (data && typeof (data) === 'string') {
if (data && typeof data === 'string') {
req.write(data, 'utf8');
}
if (data && typeof (data) !== 'string') {
if (data && typeof data !== 'string') {
data.on('close', function () {
req.end();
});
@@ -3759,31 +3827,34 @@ class HttpClient {
const defaultPort = usingSsl ? 443 : 80;
info.options = {};
info.options.host = info.parsedUrl.hostname;
info.options.port = info.parsedUrl.port ? parseInt(info.parsedUrl.port) : defaultPort;
info.options.path = (info.parsedUrl.pathname || '') + (info.parsedUrl.search || '');
info.options.port = info.parsedUrl.port
? parseInt(info.parsedUrl.port)
: defaultPort;
info.options.path =
(info.parsedUrl.pathname || '') + (info.parsedUrl.search || '');
info.options.method = method;
info.options.headers = this._mergeHeaders(headers);
if (this.userAgent != null) {
info.options.headers["user-agent"] = this.userAgent;
info.options.headers['user-agent'] = this.userAgent;
}
info.options.agent = this._getAgent(info.parsedUrl);
// gives handlers an opportunity to participate
if (this.handlers) {
this.handlers.forEach((handler) => {
this.handlers.forEach(handler => {
handler.prepareRequest(info.options);
});
}
return info;
}
_mergeHeaders(headers) {
const lowercaseKeys = obj => Object.keys(obj).reduce((c, k) => (c[k.toLowerCase()] = obj[k], c), {});
const lowercaseKeys = obj => Object.keys(obj).reduce((c, k) => ((c[k.toLowerCase()] = obj[k]), c), {});
if (this.requestOptions && this.requestOptions.headers) {
return Object.assign({}, lowercaseKeys(this.requestOptions.headers), lowercaseKeys(headers));
}
return lowercaseKeys(headers || {});
}
_getExistingOrDefaultHeader(additionalHeaders, header, _default) {
const lowercaseKeys = obj => Object.keys(obj).reduce((c, k) => (c[k.toLowerCase()] = obj[k], c), {});
const lowercaseKeys = obj => Object.keys(obj).reduce((c, k) => ((c[k.toLowerCase()] = obj[k]), c), {});
let clientHeader;
if (this.requestOptions && this.requestOptions.headers) {
clientHeader = lowercaseKeys(this.requestOptions.headers)[header];
@@ -3821,7 +3892,7 @@ class HttpClient {
proxyAuth: proxyUrl.auth,
host: proxyUrl.hostname,
port: proxyUrl.port
},
}
};
let tunnelAgent;
const overHttps = proxyUrl.protocol === 'https:';
@@ -3848,7 +3919,9 @@ class HttpClient {
// we don't want to set NODE_TLS_REJECT_UNAUTHORIZED=0 since that will affect request for entire process
// http.RequestOptions doesn't expose a way to modify RequestOptions.agent.options
// we have to cast it to any and change it directly
agent.options = Object.assign(agent.options || {}, { rejectUnauthorized: false });
agent.options = Object.assign(agent.options || {}, {
rejectUnauthorized: false
});
}
return agent;
}
@@ -3909,7 +3982,7 @@ class HttpClient {
msg = contents;
}
else {
msg = "Failed request: (" + statusCode + ")";
msg = 'Failed request: (' + statusCode + ')';
}
let err = new Error(msg);
// attach statusCode and body obj (if available) to the error object
@@ -6111,7 +6184,10 @@ function getLatestVersion(version, channel) {
downloadUrl: `${storageUrl}/${release.archive}`
};
}
const channelVersion = storage.releases.find(release => release.hash === storage.current_release[channel]);
const channelVersion = storage.releases.find(release => {
return (release.hash === storage.current_release[channel] &&
release.channel == channel);
});
if (!channelVersion) {
throw new Error(`unable to get latest version from channel ${channel}`);
}
@@ -6531,12 +6607,10 @@ function getProxyUrl(reqUrl) {
}
let proxyVar;
if (usingSsl) {
proxyVar = process.env["https_proxy"] ||
process.env["HTTPS_PROXY"];
proxyVar = process.env['https_proxy'] || process.env['HTTPS_PROXY'];
}
else {
proxyVar = process.env["http_proxy"] ||
process.env["HTTP_PROXY"];
proxyVar = process.env['http_proxy'] || process.env['HTTP_PROXY'];
}
if (proxyVar) {
proxyUrl = url.parse(proxyVar);
@@ -6548,7 +6622,7 @@ function checkBypass(reqUrl) {
if (!reqUrl.hostname) {
return false;
}
let noProxy = process.env["no_proxy"] || process.env["NO_PROXY"] || '';
let noProxy = process.env['no_proxy'] || process.env['NO_PROXY'] || '';
if (!noProxy) {
return false;
}
@@ -6569,7 +6643,10 @@ function checkBypass(reqUrl) {
upperReqHosts.push(`${upperReqHosts[0]}:${reqPort}`);
}
// Compare request host against noproxy
for (let upperNoProxyItem of noProxy.split(',').map(x => x.trim().toUpperCase()).filter(x => x)) {
for (let upperNoProxyItem of noProxy
.split(',')
.map(x => x.trim().toUpperCase())
.filter(x => x)) {
if (upperReqHosts.some(x => x === upperNoProxyItem)) {
return true;
}
@@ -6910,8 +6987,15 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
step((generator = generator.apply(thisArg, _arguments || [])).next());
});
};
var __importStar = (this && this.__importStar) || function (mod) {
if (mod && mod.__esModule) return mod;
var result = {};
if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];
result["default"] = mod;
return result;
};
Object.defineProperty(exports, "__esModule", { value: true });
const tr = __webpack_require__(9);
const tr = __importStar(__webpack_require__(9));
/**
* Exec a command.
* Output will be streamed to the live console.

2315
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -1,6 +1,6 @@
{
"name": "flutter-action",
"version": "1.3.0",
"version": "1.3.2",
"private": true,
"description": "Flutter environment for use in actions",
"main": "lib/index.js",
@@ -25,26 +25,26 @@
"author": "Alif Rachmawadi <arch@subosito.com>",
"license": "MIT",
"dependencies": {
"@actions/core": "^1.2.3",
"@actions/exec": "^1.0.3",
"@actions/http-client": "^1.0.7",
"@actions/core": "^1.2.4",
"@actions/exec": "^1.0.4",
"@actions/http-client": "^1.0.8",
"@actions/io": "^1.0.2",
"@actions/tool-cache": "^1.3.3",
"semver": "^7.3.0",
"@actions/tool-cache": "^1.3.4",
"semver": "^7.3.2",
"uuid": "^7.0.3"
},
"devDependencies": {
"@types/jest": "^25.2.1",
"@types/node": "^12.12.35",
"@types/node": "^12.12.38",
"@types/semver": "^7.1.0",
"@types/uuid": "^7.0.2",
"@types/uuid": "^7.0.3",
"@zeit/ncc": "^0.22.1",
"jest": "^25.3.0",
"jest-circus": "^25.3.0",
"jest": "^25.5.4",
"jest-circus": "^25.5.4",
"nock": "^12.0.3",
"npm-run-all": "^4.1.5",
"prettier": "^1.19.1",
"ts-jest": "^25.3.1",
"ts-jest": "^25.5.0",
"typescript": "^3.8.3"
},
"resolutions": {

View File

@@ -230,9 +230,12 @@ async function getLatestVersion(
};
}
const channelVersion = storage.releases.find(
release => release.hash === storage.current_release[channel]
);
const channelVersion = storage.releases.find(release => {
return (
release.hash === storage.current_release[channel] &&
release.channel == channel
);
});
if (!channelVersion) {
throw new Error(`unable to get latest version from channel ${channel}`);