pull/3668/head^2
filip mertens 2 years ago
parent 18f8e28d34
commit d05eefa45c
  1. 5
      .circleci/config.yml
  2. 5
      apps/remix-ide/ci/download_e2e_assets.js

@ -34,11 +34,12 @@ jobs:
fi
- run: yarn run build:e2e
- run: grep -ir "soljson-v0" apps/* libs/* > soljson-versions.txt
- restore_cache:
keys:
- soljson-{{ grep -ir "soljson-v0" apps/* libs/* | md5sum }}
- soljson-{{ checksum "soljson-versions.txt" }}
- run: yarn run downloadsolc_assets_e2e
- run: grep -ir "soljson-v0" apps/* libs/* | md5sum
- run: mkdir persist && zip -0 -r persist/dist.zip dist
- persist_to_workspace:

@ -4,7 +4,7 @@ var child_process = require('child_process');
const axios = require('axios');
const { exit } = require('process');
var child = child_process.spawnSync('grep', ['-ir', '"\soljson-v0"', 'libs/*', 'apps/*'], { encoding: 'utf8', cwd: process.cwd(), shell: true });
var child = child_process.spawnSync('grep', ['-ir', '"\soljson-v"', 'libs/*', 'apps/*'], { encoding: 'utf8', cwd: process.cwd(), shell: true });
if (child.error) {
console.log("ERROR: ", child);
@ -29,6 +29,7 @@ if (soljson) {
console.log(url)
// use axios to get the file
try {
/*
axios({
method: 'get',
url: url,
@ -38,7 +39,7 @@ if (soljson) {
console.log(err);
}
})
})
})*/
} catch (e) {
console.log('Failed to download soljson' + version + ' from ' + url)
}

Loading…
Cancel
Save