Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/main'
Browse files Browse the repository at this point in the history
* upstream/main:
  Fix output for prerelease version of poetry (actions#409)
  Update zeit/ncc to vercel/ncc (actions#393)
  Change PyPy version to rebuild cache
  • Loading branch information
adilosa committed Jun 2, 2022
2 parents 0669e36 + 3f82819 commit 59e9c1d
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/e2e-cache.yml
Expand Up @@ -61,7 +61,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
python-version: ['3.9', 'pypy-3.7-v7.x']
python-version: ['3.9', 'pypy-3.8']
steps:
- uses: actions/checkout@v3
- name: Install poetry
Expand Down
2 changes: 1 addition & 1 deletion dist/setup/index.js
Expand Up @@ -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);
}
Expand Down
19 changes: 9 additions & 10 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -35,7 +35,7 @@
"@types/jest": "^27.0.2",
"@types/node": "^16.11.25",
"@types/semver": "^7.1.0",
"@zeit/ncc": "^0.22.0",
"@vercel/ncc": "^0.33.4",
"husky": "^7.0.2",
"jest": "^27.2.5",
"jest-circus": "^27.2.5",
Expand Down
2 changes: 1 addition & 1 deletion src/cache-distributions/poetry-cache.ts
Expand Up @@ -58,7 +58,7 @@ class PoetryCache extends CacheDistributor {
const config: any = {};

for (let line of lines) {
line = line.replace(/#.*$/, '');
line = line.replace(/#.*$/gm, '');

const [key, value] = line.split('=').map(part => part.trim());

Expand Down

0 comments on commit 59e9c1d

Please sign in to comment.