Skip to content

Commit

Permalink
prepare action for publish
Browse files Browse the repository at this point in the history
  • Loading branch information
Simek committed Apr 26, 2021
1 parent fcf5495 commit ea114a9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
4 changes: 1 addition & 3 deletions action.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,7 @@ async function run() {
const content = await fs.readFileSync(lockPath, { encoding: 'utf8' });
const updatedLock = lockfile.parse(content);

console.log(`https://raw.githubusercontent.com/${owner}/${repo}/${default_branch}/${core.getInput('path')}`)

const response = await fetch(`https://raw.githubusercontent.com/Simek/wikitaxa/master/${core.getInput('path')}`);
const response = await fetch(`https://raw.githubusercontent.com/${owner}/${repo}/${default_branch}/${core.getInput('path')}`);

if (!response) {
throw new Error('Cannot fetch current lock file!');
Expand Down
4 changes: 2 additions & 2 deletions dist/index.js

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
"repository": "github:Simek/yarn-lock-changes",
"author": "Simek <[email protected]>",
"license": "MIT",
"private": true,
"scripts": {
"compile": "ncc build action.js -m"
},
Expand Down

0 comments on commit ea114a9

Please sign in to comment.