Skip to content

Commit 75ab0e2

Browse files
author
GitHub Actions
committed
Update dist
1 parent e175958 commit 75ab0e2

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

dist/index.js

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -55264,12 +55264,8 @@ class Config {
5526455264
throw new Error(`The 'github-token' input is not specified`);
5526555265
}
5526655266

55267-
if (!this.input.keyPairName) {
55268-
throw new Error(`Must specify a key pair name`);
55269-
}
55270-
5527155267
if (this.input.mode === 'start') {
55272-
if (!this.input.ec2ImageId || !this.input.ec2InstanceType || !this.input.subnetId || !this.input.securityGroupId) {
55268+
if (!this.input.ec2ImageId || !this.input.ec2InstanceType || !this.input.subnetId || !this.input.securityGroupId || !this.input.keyPairName) {
5527355269
throw new Error(`Not all the required inputs are provided for the 'start' mode`);
5527455270
}
5527555271
} else if (this.input.mode === 'stop') {

0 commit comments

Comments
 (0)