Skip to content
This repository was archived by the owner on Jul 3, 2023. It is now read-only.

Commit 3c54b25

Browse files
author
github-actions
committed
update dist
1 parent 3466813 commit 3c54b25

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

dist/index.js

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13629,6 +13629,7 @@ var __webpack_exports__ = {};
1362913629
// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
1363013630
(() => {
1363113631
const core = __nccwpck_require__(2186);
13632+
const exec = __nccwpck_require__(1514);
1363213633
const github = __nccwpck_require__(5438);
1363313634
const tc = __nccwpck_require__(7784);
1363413635

@@ -13738,10 +13739,25 @@ const _download = async (version) => {
1373813739
return cliPath;
1373913740
};
1374013741

13742+
/**
13743+
* @param {String} accessToken
13744+
* @param {String} format
13745+
*/
13746+
const configure = async (accessToken, format) => {
13747+
await exec.exec("qiita", [
13748+
"configure",
13749+
"--access-token",
13750+
accessToken,
13751+
"--format",
13752+
format,
13753+
]);
13754+
};
13755+
1374113756
(async () => {
1374213757
const version = await _getVersion(core.getInput("version"));
1374313758
const cliPath = await _download(version);
1374413759
await _install(version, cliPath);
13760+
await configure(core.getInput("access-token"), core.getInput("format"));
1374513761
})().catch((err) => {
1374613762
core.setFailed(err.message);
1374713763
});

0 commit comments

Comments
 (0)