Switch manifest installation from "master" to "main" branch (#65)

* switch from master to main branch

* Update README.md
This commit is contained in:
Maxim Lobanov
2020-07-20 19:50:40 +03:00
committed by GitHub
parent 1616116e1b
commit d0c5defdf3
3 changed files with 9 additions and 2 deletions

2
dist/index.js vendored
View File

@ -5034,7 +5034,7 @@ exports.extractGoArchive = extractGoArchive;
function getInfoFromManifest(versionSpec, stable, auth) {
return __awaiter(this, void 0, void 0, function* () {
let info = null;
const releases = yield tc.getManifestFromRepo('actions', 'go-versions', auth);
const releases = yield tc.getManifestFromRepo('actions', 'go-versions', auth, "main");
core.info(`matching ${versionSpec}...`);
const rel = yield tc.findFromManifest(versionSpec, stable, releases);
if (rel && rel.files.length > 0) {