mirror of
https://github.com/codecov/codecov-action.git
synced 2025-12-23 20:27:02 +08:00
Update index.js
This commit is contained in:
2
index.js
2
index.js
@@ -56,7 +56,7 @@ try {
|
|||||||
GITHUB_REPOSITORY: process.env.GITHUB_REPOSITORY,
|
GITHUB_REPOSITORY: process.env.GITHUB_REPOSITORY,
|
||||||
GITHUB_SHA: process.env.GITHUB_SHA,
|
GITHUB_SHA: process.env.GITHUB_SHA,
|
||||||
GITHUB_HEAD_REF: process.env.GITHUB_HEAD_REF || ''
|
GITHUB_HEAD_REF: process.env.GITHUB_HEAD_REF || ''
|
||||||
};
|
});
|
||||||
|
|
||||||
if(token){
|
if(token){
|
||||||
options.env.CODECOV_TOKEN = token
|
options.env.CODECOV_TOKEN = token
|
||||||
|
|||||||
Reference in New Issue
Block a user