From 33cbf07c965712cfb077a5caf85bf0f1de329ce9 Mon Sep 17 00:00:00 2001 From: Bryan MacFarlane Date: Wed, 22 Jul 2020 08:04:56 -0400 Subject: [PATCH] workflow main references --- .github/workflows/versions.yml | 2 +- .github/workflows/workflow.yml | 2 +- dist/index.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/versions.yml b/.github/workflows/versions.yml index 14f72b1..6b6d5f9 100644 --- a/.github/workflows/versions.yml +++ b/.github/workflows/versions.yml @@ -2,7 +2,7 @@ name: Validate 'setup-go' on: push: branches: - - master + - main paths-ignore: - '**.md' pull_request: diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index ba59464..274f7e9 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -2,7 +2,7 @@ name: build-test on: push: branches: - - master + - main paths-ignore: - '**.md' pull_request: diff --git a/dist/index.js b/dist/index.js index 807fbb1..8c713fa 100644 --- a/dist/index.js +++ b/dist/index.js @@ -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) {