Skip to content

Commit 8723a4e

Browse files
committed
module
1 parent a6fa6a3 commit 8723a4e

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

index.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ try {
1010
const version = core.getInput('version');
1111
const displayVersion = core.getInput('displayVersion');
1212
const printFile = core.getInput('printFile');
13+
14+
if (version && version.trim() == '') {
15+
core.setFailed("Paramenter csproj is required.");
16+
}
1317

1418

1519
// match <ApplicationVersion> followed by any sequence of characters that are not a '<', followed by </ApplicationVersion>

0 commit comments

Comments
 (0)