mirror of
https://github.com/ditkrg/project-version-check.git
synced 2026-01-23 06:16:41 +00:00
Update index
Signed-off-by: Shakar <5h4k4r.b4kr@gmail.com>
This commit is contained in:
parent
e386f9295f
commit
5b0b91b542
8
index.js
8
index.js
@ -1,6 +1,6 @@
|
|||||||
import * as core from '@actions/core'
|
const core = require('@actions/core')
|
||||||
import * as github from '@actions/github'
|
const github = require('@actions/github')
|
||||||
import * as fs from 'fs';
|
const fs = require('fs')
|
||||||
try {
|
try {
|
||||||
const label = core.getInput('label');
|
const label = core.getInput('label');
|
||||||
console.log(`Label: ${label}`)
|
console.log(`Label: ${label}`)
|
||||||
@ -8,7 +8,7 @@ try {
|
|||||||
core.setOutput("label", label);
|
core.setOutput("label", label);
|
||||||
|
|
||||||
|
|
||||||
fs.readFile('/Readme.md', 'utf8', (err, data) => {
|
fs.readFile('/README.md', 'utf8', (err, data) => {
|
||||||
if (err) {
|
if (err) {
|
||||||
console.error(err);
|
console.error(err);
|
||||||
return;
|
return;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user