mirror of
https://github.com/actions/setup-python.git
synced 2025-07-02 23:53:47 +00:00
Merge remote-tracking branch 'upstream/main'
* upstream/main: Fix output for prerelease version of poetry (#409) Update zeit/ncc to vercel/ncc (#393) Change PyPy version to rebuild cache
This commit is contained in:
commit
59e9c1d0b3
5 changed files with 13 additions and 14 deletions
2
dist/setup/index.js
vendored
2
dist/setup/index.js
vendored
|
@ -38423,7 +38423,7 @@ class PoetryCache extends cache_distributor_1.default {
|
|||
const lines = stdout.trim().split('\n');
|
||||
const config = {};
|
||||
for (let line of lines) {
|
||||
line = line.replace(/#.*$/, '');
|
||||
line = line.replace(/#.*$/gm, '');
|
||||
const [key, value] = line.split('=').map(part => part.trim());
|
||||
config[key] = JSON.parse(value);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue