Vendor python dependencies
This commit is contained in:
@@ -1,3 +1,6 @@
|
|||||||
__pycache__
|
__pycache__
|
||||||
|
.python-version
|
||||||
|
|
||||||
node_modules
|
node_modules
|
||||||
|
|
||||||
.DS_Store
|
.DS_Store
|
||||||
|
|||||||
Vendored
+3
-1
@@ -1018,7 +1018,9 @@ async function run() {
|
|||||||
await exec.exec("pip", [
|
await exec.exec("pip", [
|
||||||
"install",
|
"install",
|
||||||
"--requirement",
|
"--requirement",
|
||||||
`${src}/requirements.txt`
|
`${src}/requirements.txt`,
|
||||||
|
"--no-index",
|
||||||
|
`--find-links=${__dirname}/vendor`
|
||||||
]);
|
]);
|
||||||
|
|
||||||
// Fetch action inputs
|
// Fetch action inputs
|
||||||
|
|||||||
Vendored
BIN
Binary file not shown.
Vendored
BIN
Binary file not shown.
Vendored
BIN
Binary file not shown.
Vendored
BIN
Binary file not shown.
BIN
Binary file not shown.
Vendored
BIN
Binary file not shown.
Vendored
BIN
Binary file not shown.
Vendored
BIN
Binary file not shown.
Vendored
BIN
Binary file not shown.
Vendored
BIN
Binary file not shown.
Vendored
BIN
Binary file not shown.
Vendored
BIN
Binary file not shown.
Vendored
BIN
Binary file not shown.
@@ -16,7 +16,9 @@ async function run() {
|
|||||||
await exec.exec("pip", [
|
await exec.exec("pip", [
|
||||||
"install",
|
"install",
|
||||||
"--requirement",
|
"--requirement",
|
||||||
`${src}/requirements.txt`
|
`${src}/requirements.txt`,
|
||||||
|
"--no-index",
|
||||||
|
`--find-links=${__dirname}/vendor`
|
||||||
]);
|
]);
|
||||||
|
|
||||||
// Fetch action inputs
|
// Fetch action inputs
|
||||||
|
|||||||
+4
-1
@@ -4,7 +4,10 @@
|
|||||||
"description": "Creates a pull request for changes to your repository in the actions workspace",
|
"description": "Creates a pull request for changes to your repository in the actions workspace",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"package": "ncc build index.js -o dist"
|
"clean": "rm -rf dist",
|
||||||
|
"build": "ncc build index.js -o dist",
|
||||||
|
"vendor-deps": "pip download -r src/requirements.txt --no-binary=:all: -d dist/vendor",
|
||||||
|
"package": "npm run build && npm run vendor-deps"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
|||||||
Reference in New Issue
Block a user