This repository was archived by the owner on Jul 3, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -13629,6 +13629,7 @@ var __webpack_exports__ = {};
13629
13629
// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
13630
13630
(() => {
13631
13631
const core = __nccwpck_require__(2186);
13632
+ const exec = __nccwpck_require__(1514);
13632
13633
const github = __nccwpck_require__(5438);
13633
13634
const tc = __nccwpck_require__(7784);
13634
13635
@@ -13738,10 +13739,25 @@ const _download = async (version) => {
13738
13739
return cliPath;
13739
13740
};
13740
13741
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
+
13741
13756
(async () => {
13742
13757
const version = await _getVersion(core.getInput("version"));
13743
13758
const cliPath = await _download(version);
13744
13759
await _install(version, cliPath);
13760
+ await configure(core.getInput("access-token"), core.getInput("format"));
13745
13761
})().catch((err) => {
13746
13762
core.setFailed(err.message);
13747
13763
});
You can’t perform that action at this time.
0 commit comments