Skip to content

Commit

Permalink
Revert back to ec2dbcb
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasrockhu committed Jul 14, 2021
1 parent ec2dbcb commit 7dae0eb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion dist/index.js
Expand Up @@ -7663,11 +7663,12 @@ var src_core = __nccwpck_require__(2186);
var exec = __nccwpck_require__(1514);

try {
var url = 'https://uploader.codecov.io/latest/codecov-linux';
var url = 'https://uploader.codecov.io/latest/codecov-macos';
var filename_1 = __dirname + '/uploader';
var _a = src_buildExec(), execArgs_1 = _a.execArgs, options_1 = _a.options;
https.get(url, function (res) {
// Image will be stored at this path
src_core.setOutput('Writing uploader binary...');
var filePath = fs.createWriteStream(filename_1);
res.pipe(filePath);
filePath
Expand Down
3 changes: 2 additions & 1 deletion src/index.ts
Expand Up @@ -7,12 +7,13 @@ const exec = require('@actions/exec');
import buildExec from './buildExec';

try {
const url = 'https://uploader.codecov.io/latest/codecov-linux';
const url = 'https://uploader.codecov.io/latest/codecov-macos';
const filename = __dirname + '/uploader';
const {execArgs, options} = buildExec();

https.get(url, (res) => {
// Image will be stored at this path
core.setOutput('Writing uploader binary...');
const filePath = fs.createWriteStream(filename);
res.pipe(filePath);
filePath
Expand Down

0 comments on commit 7dae0eb

Please sign in to comment.