()
| 135 | } |
| 136 | |
| 137 | private async tryInstallFromPSGallery() { |
| 138 | if (this.installResult.isInstalled) { |
| 139 | core.debug(`Module already installed skipping tryInstallFromPSGallery`); |
| 140 | return; |
| 141 | } |
| 142 | |
| 143 | await Utils.saveAzModule(this.version, this.modulePath); |
| 144 | this.installResult = { |
| 145 | isInstalled: true, |
| 146 | moduleSource: AzModuleSource.PSGallery |
| 147 | }; |
| 148 | } |
| 149 | |
| 150 | private async getDownloadUrlFromGHRelease() { |
| 151 | core.debug("Getting versions manifest from GHRelease."); |