Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 6188633

Browse filesBrowse files
[DEVOPS-18953] Add Amazon Linux 2 python build
This modifies the action to look in this repo for Amazon Linux 2 python builds. It also changes the version-manifests.json lookup to occur in this repo.
1 parent 2d803e7 commit 6188633
Copy full SHA for 6188633

File tree

Expand file treeCollapse file tree

2 files changed

+18
-2
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+18
-2
lines changed

‎src/install-python.ts

Copy file name to clipboardExpand all lines: src/install-python.ts
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ import {IS_WINDOWS, IS_LINUX} from './utils';
77

88
const TOKEN = core.getInput('token');
99
const AUTH = !TOKEN || isGhes() ? undefined : `token ${TOKEN}`;
10-
const MANIFEST_REPO_OWNER = 'actions';
11-
const MANIFEST_REPO_NAME = 'python-versions';
10+
const MANIFEST_REPO_OWNER = 'caseware';
11+
const MANIFEST_REPO_NAME = 'setup-python';
1212
const MANIFEST_REPO_BRANCH = 'main';
1313
export const MANIFEST_URL = `https://raw.githubusercontent.com/${MANIFEST_REPO_OWNER}/${MANIFEST_REPO_NAME}/${MANIFEST_REPO_BRANCH}/versions-manifest.json`;
1414

‎src/versions-manifest.json

Copy file name to clipboard
+16Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
[
2+
{
3+
"version": "3.9.6",
4+
"stable": true,
5+
"release_url": "https://github.com/caseware/setup-python/releases/tag/3.0.0",
6+
"files": [
7+
{
8+
"filename": "python-3.9.6-linux-amzn-linux-2-x64.tar.gz",
9+
"arch": "x64",
10+
"platform": "linux",
11+
"platform_version": "amzn-linux-2",
12+
"download_url": "https://github.com/caseware/setup-python/releases/download/3.0.0/python-3.9.6-amzn-linux-2-x64.tar.gz"
13+
}
14+
]
15+
}
16+
]

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.