Skip to content

Commit

Permalink
final touch ups
Browse files Browse the repository at this point in the history
  • Loading branch information
mukunku committed Apr 23, 2020
1 parent b001219 commit e2a46eb
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@ a string value of 'true' or 'false'
## Example usage

```yaml
uses: mukunku/[email protected]
id: checkTag
with:
tag: 'v1'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

run: echo ${{ steps.checkTag.outputs.exists }}
- uses: mukunku/[email protected]
id: checkTag
with:
tag: 'v1'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- run: echo ${{ steps.checkTag.outputs.exists }}
```
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e2a46eb

Please sign in to comment.