workflow main references

This commit is contained in:
Bryan MacFarlane 2020-07-22 08:04:56 -04:00
parent 8e98458ff1
commit 33cbf07c96
3 changed files with 3 additions and 3 deletions

View file

@ -2,7 +2,7 @@ name: Validate 'setup-go'
on:
push:
branches:
- master
- main
paths-ignore:
- '**.md'
pull_request:

View file

@ -2,7 +2,7 @@ name: build-test
on:
push:
branches:
- master
- main
paths-ignore:
- '**.md'
pull_request:

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, "main");
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) {