mirror of
				https://gitea.com/actions/setup-go.git
				synced 2025-11-02 07:47:10 +00:00 
			
		
		
		
	workflow main references
This commit is contained in:
		
							
								
								
									
										2
									
								
								.github/workflows/versions.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/versions.yml
									
									
									
									
										vendored
									
									
								
							@@ -2,7 +2,7 @@ name: Validate 'setup-go'
 | 
				
			|||||||
on:
 | 
					on:
 | 
				
			||||||
  push:
 | 
					  push:
 | 
				
			||||||
    branches:
 | 
					    branches:
 | 
				
			||||||
      - master
 | 
					      - main
 | 
				
			||||||
    paths-ignore:
 | 
					    paths-ignore:
 | 
				
			||||||
      - '**.md'
 | 
					      - '**.md'
 | 
				
			||||||
  pull_request:
 | 
					  pull_request:
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										2
									
								
								.github/workflows/workflow.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/workflow.yml
									
									
									
									
										vendored
									
									
								
							@@ -2,7 +2,7 @@ name: build-test
 | 
				
			|||||||
on:
 | 
					on:
 | 
				
			||||||
  push:
 | 
					  push:
 | 
				
			||||||
    branches:
 | 
					    branches:
 | 
				
			||||||
      - master
 | 
					      - main
 | 
				
			||||||
    paths-ignore:
 | 
					    paths-ignore:
 | 
				
			||||||
      - '**.md'
 | 
					      - '**.md'
 | 
				
			||||||
  pull_request:
 | 
					  pull_request:
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										2
									
								
								dist/index.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								dist/index.js
									
									
									
									
										vendored
									
									
								
							@@ -5034,7 +5034,7 @@ exports.extractGoArchive = extractGoArchive;
 | 
				
			|||||||
function getInfoFromManifest(versionSpec, stable, auth) {
 | 
					function getInfoFromManifest(versionSpec, stable, auth) {
 | 
				
			||||||
    return __awaiter(this, void 0, void 0, function* () {
 | 
					    return __awaiter(this, void 0, void 0, function* () {
 | 
				
			||||||
        let info = null;
 | 
					        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}...`);
 | 
					        core.info(`matching ${versionSpec}...`);
 | 
				
			||||||
        const rel = yield tc.findFromManifest(versionSpec, stable, releases);
 | 
					        const rel = yield tc.findFromManifest(versionSpec, stable, releases);
 | 
				
			||||||
        if (rel && rel.files.length > 0) {
 | 
					        if (rel && rel.files.length > 0) {
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user