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

Commit 27453ba

Browse files
committed
release(dist): Build and release
1 parent 9866f27 commit 27453ba

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

dist/index.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3045,6 +3045,7 @@ const getChangedFiles_1 = __webpack_require__(564);
30453045
async function run() {
30463046
try {
30473047
const { owner, repo } = github.context.repo;
3048+
const dryRun = core.getInput('dry');
30483049
const token = core.getInput('GITHUB_TOKEN');
30493050
if (!token) {
30503051
core.debug(`NO GITHUB_TOKEN`);
@@ -3092,6 +3093,9 @@ async function run() {
30923093
core.debug(eslintOutput);
30933094
core.setFailed(err.message);
30943095
}
3096+
if (dryRun) {
3097+
return;
3098+
}
30953099
for (const result of results) {
30963100
const filePath = result.filePath.replace(`${process.env.GITHUB_WORKSPACE}/`, '');
30973101
let file;

0 commit comments

Comments
 (0)