From e2a46ebd6756b94e5d51394e127cd257e4ffbf95 Mon Sep 17 00:00:00 2001 From: mukunku Date: Thu, 23 Apr 2020 19:14:41 -0400 Subject: [PATCH] final touch ups --- README.md | 16 ++++++++-------- index.js | 2 +- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index f9e97c6..9877876 100644 --- a/README.md +++ b/README.md @@ -16,12 +16,12 @@ a string value of 'true' or 'false' ## Example usage ```yaml -uses: mukunku/tag-exists-action@v1.0.0 -id: checkTag -with: - tag: 'v1' -env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - -run: echo ${{ steps.checkTag.outputs.exists }} +- uses: mukunku/tag-exists-action@v1.0.0 + id: checkTag + with: + tag: 'v1' + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + +- run: echo ${{ steps.checkTag.outputs.exists }} ``` \ No newline at end of file diff --git a/index.js b/index.js index 629d660..2f92f18 100644 --- a/index.js +++ b/index.js @@ -5,7 +5,7 @@ async function run() { try { //Get input const tag = process.env.TAG || process.env.INPUT_TAG || ''; - core.debug(`Searching for tag: ${tag}`); + console.log(`Searching for tag: ${tag}`); // Get owner and repo from context of payload that triggered the action const { owner, repo } = context.repo