Skip to content

Commit edc5aa9

Browse files
committed
Remove debugs
1 parent eb9408e commit edc5aa9

File tree

4 files changed

+2
-18
lines changed

4 files changed

+2
-18
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525

2626
- name: Extract version
2727
id: extract_version
28-
uses: Saionaro/[email protected].5
28+
uses: Saionaro/[email protected].6
2929
# From now you can access version
3030
- name: Print version
3131
run: echo ${{ steps.extract_version.outputs.version }}

dist/index.js

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -61,17 +61,9 @@ const workspace = process.env.GITHUB_WORKSPACE;
6161
async function run() {
6262
try {
6363
const packagePath = path.join(workspace, "package.json");
64-
65-
core.debug(packagePath);
66-
6764
const pkg = require(packagePath);
68-
69-
core.debug(pkg);
70-
7165
const version = pkg.version.toString();
7266

73-
core.debug(version);
74-
7567
core.setOutput("version", version);
7668
} catch (error) {
7769
core.setFailed(error.message);

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "extract-package-version",
3-
"version": "1.0.5",
3+
"version": "1.0.6",
44
"description": "Allows you to get the npm version of the package in your Github Actions workflow",
55
"main": "index.js",
66
"scripts": {

src/extract-version.js

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,9 @@ const workspace = process.env.GITHUB_WORKSPACE;
66
async function run() {
77
try {
88
const packagePath = path.join(workspace, "package.json");
9-
10-
core.debug(packagePath);
11-
129
const pkg = require(packagePath);
13-
14-
core.debug(pkg);
15-
1610
const version = pkg.version.toString();
1711

18-
core.debug(version);
19-
2012
core.setOutput("version", version);
2113
} catch (error) {
2214
core.setFailed(error.message);

0 commit comments

Comments
 (0)