mirror of
https://github.com/codecov/codecov-action.git
synced 2026-04-06 06:29:24 +00:00
Try forcing the commit
This commit is contained in:
parent
ca774cf8f0
commit
482a90585e
4 changed files with 18 additions and 3 deletions
|
|
@ -1,4 +1,7 @@
|
|||
const core = require('@actions/core');
|
||||
const github = require('@actions/github');
|
||||
|
||||
const context = github.context;
|
||||
|
||||
const isTrue = (variable) => {
|
||||
const lowercase = variable.toLowerCase();
|
||||
|
|
@ -128,6 +131,8 @@ const buildExec = () => {
|
|||
}
|
||||
if (overrideCommit) {
|
||||
execArgs.push('-C', `${overrideCommit}`);
|
||||
} else {
|
||||
execArgs.push('-C', `${context.sha}`);
|
||||
}
|
||||
if (overridePr) {
|
||||
execArgs.push('-P', `${overridePr}`);
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
const core = require('@actions/core');
|
||||
const exec = require('@actions/exec');
|
||||
|
||||
const fs = require('fs');
|
||||
const request = require('requestretry');
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue