configure_trusted_publisher 0.1.8 → 0.1.9
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '069cf11b54abc980ac845968c09a93b3779aa4153ca6ae8c4e58093352fd5270'
|
4
|
+
data.tar.gz: 4da5f62636b14c6837fadb4847f27e3267b13797ba4e4c66a4e9bbbfe35adc48
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 146c6c690a138f3c837aa7aee7fa39e25b9cbc08a30884a2441fcf796ca46e691814ca1c039d10e2ecc8fe4309b91aebd67152a95fc062e050cb41957f4fe9b9
|
7
|
+
data.tar.gz: 9aeff4f526331e46da39edba8bacc5eebfea0f6d2ab6b703195032dec8c0c4842ca34136a4cca35e995741864a12ad484a0e99781a941eb1c8ddb4d1f151c1f0
|
@@ -252,6 +252,11 @@ module ConfigureTrustedPublisher
|
|
252
252
|
return unless ask_yes_or_no("Would you like to add a github environment to allow customizing " \
|
253
253
|
"prerequisites for the action?")
|
254
254
|
|
255
|
+
if Bundler.which("gh").nil?
|
256
|
+
exit "The GitHub CLI (gh) is required to add a GitHub environment. " \
|
257
|
+
"Please install it from https://cli.github.com/ and try again."
|
258
|
+
end
|
259
|
+
|
255
260
|
env_name = "rubygems.org"
|
256
261
|
|
257
262
|
owner, name = github_repository
|