mirror of
https://github.com/codecov/codecov-action.git
synced 2025-12-09 00:26:25 +00:00
fix: Import version properly as string not object
This commit is contained in:
@@ -1,3 +1,7 @@
|
|||||||
|
## 1.5.2
|
||||||
|
### Fixes
|
||||||
|
- # fix: Import version properly as string not object
|
||||||
|
|
||||||
## 1.5.1
|
## 1.5.1
|
||||||
### Fixes
|
### Fixes
|
||||||
- #320 doc: add github actions badge
|
- #320 doc: add github actions badge
|
||||||
|
|||||||
6
dist/index.js
vendored
6
dist/index.js
vendored
@@ -1109,7 +1109,7 @@ function onceStrict (fn) {
|
|||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
exports.__esModule = true;
|
exports.__esModule = true;
|
||||||
var VERSION = 'v1.5.0';
|
var VERSION = 'v1.5.2';
|
||||||
exports["default"] = VERSION;
|
exports["default"] = VERSION;
|
||||||
|
|
||||||
|
|
||||||
@@ -7188,7 +7188,7 @@ exports.checkBypass = checkBypass;
|
|||||||
exports.__esModule = true;
|
exports.__esModule = true;
|
||||||
var core = __webpack_require__(470);
|
var core = __webpack_require__(470);
|
||||||
var github = __webpack_require__(469);
|
var github = __webpack_require__(469);
|
||||||
var VERSION = __webpack_require__(52);
|
var version_1 = __webpack_require__(52);
|
||||||
var context = github.context;
|
var context = github.context;
|
||||||
var isTrue = function (variable) {
|
var isTrue = function (variable) {
|
||||||
var lowercase = variable.toLowerCase();
|
var lowercase = variable.toLowerCase();
|
||||||
@@ -7233,7 +7233,7 @@ var buildExec = function () {
|
|||||||
var filepath = workingDir ?
|
var filepath = workingDir ?
|
||||||
workingDir + '/codecov.sh' : 'codecov.sh';
|
workingDir + '/codecov.sh' : 'codecov.sh';
|
||||||
var execArgs = [filepath];
|
var execArgs = [filepath];
|
||||||
execArgs.push('-n', "" + name, '-F', "" + flags, '-Q', "github-action-" + VERSION);
|
execArgs.push('-n', "" + name, '-F', "" + flags, '-Q', "github-action-" + version_1["default"]);
|
||||||
var options = {};
|
var options = {};
|
||||||
options.env = Object.assign(process.env, {
|
options.env = Object.assign(process.env, {
|
||||||
GITHUB_ACTION: process.env.GITHUB_ACTION,
|
GITHUB_ACTION: process.env.GITHUB_ACTION,
|
||||||
|
|||||||
2
package-lock.json
generated
2
package-lock.json
generated
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "codecov-action",
|
"name": "codecov-action",
|
||||||
"version": "1.5.1",
|
"version": "1.5.2",
|
||||||
"lockfileVersion": 1,
|
"lockfileVersion": 1,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "codecov-action",
|
"name": "codecov-action",
|
||||||
"version": "1.5.1",
|
"version": "1.5.2",
|
||||||
"description": "Upload coverage reports to Codecov from GitHub Actions",
|
"description": "Upload coverage reports to Codecov from GitHub Actions",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
import buildExec from './buildExec';
|
import buildExec from './buildExec';
|
||||||
const github = require('@actions/github');
|
const github = require('@actions/github');
|
||||||
|
|
||||||
const VERSION = require('./version');
|
import VERSION from './version';
|
||||||
|
|
||||||
const context = github.context;
|
const context = github.context;
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
const core = require('@actions/core');
|
const core = require('@actions/core');
|
||||||
const github = require('@actions/github');
|
const github = require('@actions/github');
|
||||||
|
|
||||||
const VERSION = require('./version');
|
import VERSION from './version';
|
||||||
|
|
||||||
const context = github.context;
|
const context = github.context;
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
const VERSION = 'v1.5.0';
|
const VERSION = 'v1.5.2';
|
||||||
|
|
||||||
export default VERSION;
|
export default VERSION;
|
||||||
|
|||||||
Reference in New Issue
Block a user