Skip to content
This repository has been archived by the owner on Apr 15, 2023. It is now read-only.

Commit

Permalink
Fix boolean inputs (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
notlmn committed Sep 11, 2020
1 parent a69213d commit b01ad2c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
6 changes: 4 additions & 2 deletions distribution/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 4 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,10 @@ async function run() {

const header = core.getInput('header');
const footer = core.getInput('footer');
const includeHash = core.getInput('include-hash');
const includeRange = core.getInput('include-range');

// @TODO: Fix boolean checks when https://github.com/actions/toolkit/issues/361 gets resolved
const includeHash = core.getInput('include-hash') === 'true';
const includeRange = core.getInput('include-range') === 'true';

// Fetch tags from remote
await execFile('git', ['fetch', 'origin', '+refs/tags/*:refs/tags/*']);
Expand Down

0 comments on commit b01ad2c

Please sign in to comment.