Merge pull request #100 from chatsen/master

Fix the endpoint for flutter releases
This commit is contained in:
Alif Rachmawadi
2021-06-02 10:48:10 +07:00
committed by GitHub
2 changed files with 3 additions and 3 deletions

4
dist/index.js vendored
View File

@@ -231,7 +231,7 @@ exports.determineVersion = exports.getPlatform = exports.storageUrl = void 0;
const core = __importStar(__nccwpck_require__(2186));
const httpm = __importStar(__nccwpck_require__(9925));
const semver = __importStar(__nccwpck_require__(1383));
exports.storageUrl = 'https://storage.googleapis.com/flutter_infra/releases';
exports.storageUrl = 'https://storage.googleapis.com/flutter_infra_release/releases';
function getPlatform() {
const platform = process.platform;
if (platform == 'win32') {
@@ -8521,4 +8521,4 @@ module.exports = require("util");;
/******/ module.exports = __webpack_exports__;
/******/
/******/ })()
;
;

View File

@@ -3,7 +3,7 @@ import * as httpm from '@actions/http-client';
import * as semver from 'semver';
export const storageUrl =
'https://storage.googleapis.com/flutter_infra/releases';
'https://storage.googleapis.com/flutter_infra_release/releases';
interface IFlutterData {
channel: string;