From f110deca205cf773f18b94bf25882ec5f8830477 Mon Sep 17 00:00:00 2001 From: George Dias Date: Wed, 19 Jan 2022 16:23:01 -0600 Subject: [PATCH 01/16] Configured gemspec.metadata to allow publishing multiple packages to the same repository --- .github/workflows/release.yml | 26 +++++++++++++++----------- emasser.gemspec | 4 +++- 2 files changed, 18 insertions(+), 12 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3d8eb7e..c3af29d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,8 +1,12 @@ name: Build and release gem on: - release: - types: [published] + # release: + # types: [published] + push: + branches: [main] + pull_request: + branches: [main] jobs: release: @@ -30,13 +34,13 @@ jobs: run: gem build *.gemspec - name: Build emass_client run: gem build -C emass_client/ruby_client/ emass_client.gemspec - - name: Publish to RubyGems - run: | - gem push --KEY rubygems --host https://rubygems.org *.gem - gem push --KEY rubygems --host https://rubygems.org emass_client/ruby_client/*.gem - # - name: Publish to GPR + # - name: Publish to RubyGems # run: | - # gem push --KEY github --host https://rubygems.pkg.github.com/${OWNER} *.gem - # gem push --KEY github --host https://rubygems.pkg.github.com/${OWNER} emass_client/ruby_client/*.gem - # env: - # OWNER: mitre + # gem push --KEY rubygems --host https://rubygems.org *.gem + # gem push --KEY rubygems --host https://rubygems.org emass_client/ruby_client/*.gem + - name: Publish to GPR + run: | + gem push --KEY github --host https://rubygems.pkg.github.com/${OWNER} *.gem + gem push --KEY github --host https://rubygems.pkg.github.com/${OWNER} emass_client/ruby_client/*.gem + env: + OWNER: mitre diff --git a/emasser.gemspec b/emasser.gemspec index c3a4941..d2268f3 100644 --- a/emasser.gemspec +++ b/emasser.gemspec @@ -21,7 +21,9 @@ Gem::Specification.new do |spec| end spec.bindir = 'exe' spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) } - + # References: https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-rubygems-registry + spec.metadata = { "github_repo" => "ssh://github.com/mitre/emasser" } + spec.add_runtime_dependency 'activesupport', '~> 6.1.4' spec.add_runtime_dependency 'colorize', '~> 0.8.1' spec.add_runtime_dependency 'dotenv', '~> 2.7.6' From 50c774a965429d02639680cc0e3be218a07de463 Mon Sep 17 00:00:00 2001 From: George Dias Date: Wed, 19 Jan 2022 16:46:48 -0600 Subject: [PATCH 02/16] Configured gemspec.metadata to allow publishing multiple packages to the same repository --- .github/workflows/release.yml | 6 ++++-- emasser.gemspec | 4 ++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c3af29d..4db52ed 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -40,7 +40,9 @@ jobs: # gem push --KEY rubygems --host https://rubygems.org emass_client/ruby_client/*.gem - name: Publish to GPR run: | - gem push --KEY github --host https://rubygems.pkg.github.com/${OWNER} *.gem - gem push --KEY github --host https://rubygems.pkg.github.com/${OWNER} emass_client/ruby_client/*.gem + # gem push --KEY github --host https://rubygems.pkg.github.com/${OWNER} *.gem + # gem push --KEY github --host https://rubygems.pkg.github.com/${OWNER} emass_client/ruby_client/*.gem + gem push --KEY github --host https://rubygems.pkg.github.com/${OWNER} emasser.gem + gem push --KEY github --host https://rubygems.pkg.github.com/${OWNER} emass_client.gem env: OWNER: mitre diff --git a/emasser.gemspec b/emasser.gemspec index d2268f3..661e04c 100644 --- a/emasser.gemspec +++ b/emasser.gemspec @@ -10,7 +10,7 @@ Gem::Specification.new do |spec| spec.licenses = ['Apache-2.0'] spec.summary = 'Provide an automated capability for invoving eMASS API endpoints' - spec.description = 'emasser can be used as a gem or used from the command line to access eMASS via thei API.' + spec.description = 'emasser can be used as a gem or used from the command line (CL) to access eMASS endpoints via their API.' spec.homepage = 'https://saf.mitre.org' spec.required_ruby_version = Gem::Requirement.new('~> 2.5') @@ -23,7 +23,7 @@ Gem::Specification.new do |spec| spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) } # References: https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-rubygems-registry spec.metadata = { "github_repo" => "ssh://github.com/mitre/emasser" } - + spec.add_runtime_dependency 'activesupport', '~> 6.1.4' spec.add_runtime_dependency 'colorize', '~> 0.8.1' spec.add_runtime_dependency 'dotenv', '~> 2.7.6' From 6193f77e4e49007938d2598b5f2ed7c8a9780e79 Mon Sep 17 00:00:00 2001 From: George Dias Date: Wed, 19 Jan 2022 16:53:46 -0600 Subject: [PATCH 03/16] Configured gemspec.metadata to allow publishing multiple packages to the same repository --- .github/workflows/release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4db52ed..107107b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -42,7 +42,7 @@ jobs: run: | # gem push --KEY github --host https://rubygems.pkg.github.com/${OWNER} *.gem # gem push --KEY github --host https://rubygems.pkg.github.com/${OWNER} emass_client/ruby_client/*.gem - gem push --KEY github --host https://rubygems.pkg.github.com/${OWNER} emasser.gem - gem push --KEY github --host https://rubygems.pkg.github.com/${OWNER} emass_client.gem + gem push --KEY github --host https://rubygems.pkg.github.com/${OWNER} emasser*.gem + gem push --KEY github --host https://rubygems.pkg.github.com/${OWNER} emass_client*.gem env: OWNER: mitre From 493fdbbc4d96942843d7f07f18d135795bac621a Mon Sep 17 00:00:00 2001 From: George Dias Date: Wed, 19 Jan 2022 16:56:17 -0600 Subject: [PATCH 04/16] Configured gemspec.metadata to allow publishing multiple packages to the same repository --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 107107b..a5938d6 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -42,7 +42,7 @@ jobs: run: | # gem push --KEY github --host https://rubygems.pkg.github.com/${OWNER} *.gem # gem push --KEY github --host https://rubygems.pkg.github.com/${OWNER} emass_client/ruby_client/*.gem - gem push --KEY github --host https://rubygems.pkg.github.com/${OWNER} emasser*.gem + # gem push --KEY github --host https://rubygems.pkg.github.com/${OWNER} emasser*.gem gem push --KEY github --host https://rubygems.pkg.github.com/${OWNER} emass_client*.gem env: OWNER: mitre From c48d9a9c82107f396c0016627d583233550f783f Mon Sep 17 00:00:00 2001 From: George Dias Date: Wed, 19 Jan 2022 17:12:14 -0600 Subject: [PATCH 05/16] Configured gemspec.metadata to allow publishing multiple packages to the same repository --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a5938d6..efc5694 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -43,6 +43,6 @@ jobs: # gem push --KEY github --host https://rubygems.pkg.github.com/${OWNER} *.gem # gem push --KEY github --host https://rubygems.pkg.github.com/${OWNER} emass_client/ruby_client/*.gem # gem push --KEY github --host https://rubygems.pkg.github.com/${OWNER} emasser*.gem - gem push --KEY github --host https://rubygems.pkg.github.com/${OWNER} emass_client*.gem + gem push --KEY github --host https://rubygems.pkg.github.com/${OWNER} emass_client/ruby_client/emass_client*.gem env: OWNER: mitre From 72a8b8e82e5274feafca292c12f391ad310e86b2 Mon Sep 17 00:00:00 2001 From: George Dias Date: Wed, 19 Jan 2022 17:26:27 -0600 Subject: [PATCH 06/16] Configured gemspec.metadata to allow publishing multiple packages to the same repository --- .github/workflows/release.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index efc5694..d6bc487 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -33,7 +33,8 @@ jobs: - name: Build emasser run: gem build *.gemspec - name: Build emass_client - run: gem build -C emass_client/ruby_client/ emass_client.gemspec + # run: gem build -C emass_client/ruby_client/ emass_client.gemspec + run: gem build emass_client/ruby_client/emass_client.gemspec # - name: Publish to RubyGems # run: | # gem push --KEY rubygems --host https://rubygems.org *.gem @@ -43,6 +44,6 @@ jobs: # gem push --KEY github --host https://rubygems.pkg.github.com/${OWNER} *.gem # gem push --KEY github --host https://rubygems.pkg.github.com/${OWNER} emass_client/ruby_client/*.gem # gem push --KEY github --host https://rubygems.pkg.github.com/${OWNER} emasser*.gem - gem push --KEY github --host https://rubygems.pkg.github.com/${OWNER} emass_client/ruby_client/emass_client*.gem + gem push --KEY github --host https://rubygems.pkg.github.com/${OWNER} emass_client*.gem env: OWNER: mitre From fe2f7373650472a28d840ffbfe284eb793340171 Mon Sep 17 00:00:00 2001 From: George Dias Date: Wed, 19 Jan 2022 17:29:13 -0600 Subject: [PATCH 07/16] Configured gemspec.metadata to allow publishing multiple packages to the same repository --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d6bc487..6698598 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -44,6 +44,6 @@ jobs: # gem push --KEY github --host https://rubygems.pkg.github.com/${OWNER} *.gem # gem push --KEY github --host https://rubygems.pkg.github.com/${OWNER} emass_client/ruby_client/*.gem # gem push --KEY github --host https://rubygems.pkg.github.com/${OWNER} emasser*.gem - gem push --KEY github --host https://rubygems.pkg.github.com/${OWNER} emass_client*.gem + gem push --KEY github --host https://rubygems.pkg.github.com/${OWNER} emass_client/ruby_client/*.gem env: OWNER: mitre From 0236ba1c1f4c2e088c88dffbe26ddbaf0e7a81f9 Mon Sep 17 00:00:00 2001 From: George Dias Date: Wed, 19 Jan 2022 17:41:51 -0600 Subject: [PATCH 08/16] Configured gemspec.metadata to allow publishing multiple packages to the same repository --- .github/workflows/release.yml | 26 +++++++++++--------------- 1 file changed, 11 insertions(+), 15 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6698598..b2e7380 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,12 +1,8 @@ name: Build and release gem on: - # release: - # types: [published] - push: - branches: [main] - pull_request: - branches: [main] + release: + types: [published] jobs: release: @@ -33,17 +29,17 @@ jobs: - name: Build emasser run: gem build *.gemspec - name: Build emass_client - # run: gem build -C emass_client/ruby_client/ emass_client.gemspec - run: gem build emass_client/ruby_client/emass_client.gemspec - # - name: Publish to RubyGems - # run: | - # gem push --KEY rubygems --host https://rubygems.org *.gem - # gem push --KEY rubygems --host https://rubygems.org emass_client/ruby_client/*.gem + run: gem build -C emass_client/ruby_client/ emass_client.gemspec + - name: Publish to RubyGems + run: | + gem push --KEY rubygems --host https://rubygems.org *.gem + gem push --KEY rubygems --host https://rubygems.org emass_client/ruby_client/*.gem - name: Publish to GPR run: | - # gem push --KEY github --host https://rubygems.pkg.github.com/${OWNER} *.gem + gem push --KEY github --host https://rubygems.pkg.github.com/${OWNER} *.gem + # Multiple package release not working (emass_client) + # ERROR: While executing gem ... (Gem::Package::FormatError) + # No such file or directory @ rb_sysopen - emass_client/ruby_client/*.gem # gem push --KEY github --host https://rubygems.pkg.github.com/${OWNER} emass_client/ruby_client/*.gem - # gem push --KEY github --host https://rubygems.pkg.github.com/${OWNER} emasser*.gem - gem push --KEY github --host https://rubygems.pkg.github.com/${OWNER} emass_client/ruby_client/*.gem env: OWNER: mitre From 60267169ff9c25a897cfa8499b2950b50a670c3e Mon Sep 17 00:00:00 2001 From: Camden Moors <66680985+camdenmoors@users.noreply.github.com> Date: Thu, 20 Jan 2022 13:10:35 -0500 Subject: [PATCH 09/16] Use full path to emass_client gemspec --- .github/workflows/release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b2e7380..8de0385 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -29,7 +29,7 @@ jobs: - name: Build emasser run: gem build *.gemspec - name: Build emass_client - run: gem build -C emass_client/ruby_client/ emass_client.gemspec + run: gem build -C emass_client/ruby_client/ emass_client/ruby_client/emass_client.gemspec - name: Publish to RubyGems run: | gem push --KEY rubygems --host https://rubygems.org *.gem @@ -40,6 +40,6 @@ jobs: # Multiple package release not working (emass_client) # ERROR: While executing gem ... (Gem::Package::FormatError) # No such file or directory @ rb_sysopen - emass_client/ruby_client/*.gem - # gem push --KEY github --host https://rubygems.pkg.github.com/${OWNER} emass_client/ruby_client/*.gem + gem push --KEY github --host https://rubygems.pkg.github.com/${OWNER} emass_client/ruby_client/*.gem env: OWNER: mitre From 59e8fbf4e91613396840aebe67f3dbc05f6a0e95 Mon Sep 17 00:00:00 2001 From: Camden Moors <66680985+camdenmoors@users.noreply.github.com> Date: Thu, 20 Jan 2022 13:11:25 -0500 Subject: [PATCH 10/16] Test in PR --- .github/workflows/release.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8de0385..e74d547 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,8 +1,10 @@ name: Build and release gem on: - release: - types: [published] + push: + branches: [main] + pull_request: + branches: [main] jobs: release: From 1346c28a16241cea0a0d10186bc70a153306df04 Mon Sep 17 00:00:00 2001 From: Camden Moors <66680985+camdenmoors@users.noreply.github.com> Date: Thu, 20 Jan 2022 13:13:40 -0500 Subject: [PATCH 11/16] LS --- .github/workflows/release.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e74d547..043c765 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -31,7 +31,7 @@ jobs: - name: Build emasser run: gem build *.gemspec - name: Build emass_client - run: gem build -C emass_client/ruby_client/ emass_client/ruby_client/emass_client.gemspec + run: gem build -C emass_client/ruby_client/ emass_client.gemspec - name: Publish to RubyGems run: | gem push --KEY rubygems --host https://rubygems.org *.gem @@ -42,6 +42,8 @@ jobs: # Multiple package release not working (emass_client) # ERROR: While executing gem ... (Gem::Package::FormatError) # No such file or directory @ rb_sysopen - emass_client/ruby_client/*.gem + ls -la + ls -la emass_client/ruby_client gem push --KEY github --host https://rubygems.pkg.github.com/${OWNER} emass_client/ruby_client/*.gem env: OWNER: mitre From 21e470db4b45baaf02449cf988fc46091e1868a9 Mon Sep 17 00:00:00 2001 From: Camden Moors <66680985+camdenmoors@users.noreply.github.com> Date: Thu, 20 Jan 2022 13:16:08 -0500 Subject: [PATCH 12/16] Update release.yml --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 043c765..1cd5dae 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -38,7 +38,7 @@ jobs: gem push --KEY rubygems --host https://rubygems.org emass_client/ruby_client/*.gem - name: Publish to GPR run: | - gem push --KEY github --host https://rubygems.pkg.github.com/${OWNER} *.gem + # gem push --KEY github --host https://rubygems.pkg.github.com/${OWNER} *.gem # Multiple package release not working (emass_client) # ERROR: While executing gem ... (Gem::Package::FormatError) # No such file or directory @ rb_sysopen - emass_client/ruby_client/*.gem From aadec1c4910f62994528260a4deadd1d12753170 Mon Sep 17 00:00:00 2001 From: Camden Moors <66680985+camdenmoors@users.noreply.github.com> Date: Thu, 20 Jan 2022 13:17:35 -0500 Subject: [PATCH 13/16] Update release.yml --- .github/workflows/release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1cd5dae..3ca83e7 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -34,8 +34,8 @@ jobs: run: gem build -C emass_client/ruby_client/ emass_client.gemspec - name: Publish to RubyGems run: | - gem push --KEY rubygems --host https://rubygems.org *.gem - gem push --KEY rubygems --host https://rubygems.org emass_client/ruby_client/*.gem + #gem push --KEY rubygems --host https://rubygems.org *.gem + #gem push --KEY rubygems --host https://rubygems.org emass_client/ruby_client/*.gem - name: Publish to GPR run: | # gem push --KEY github --host https://rubygems.pkg.github.com/${OWNER} *.gem From ba37c1c6a683e6bd30d387c8f5e23d40e5bf4ba6 Mon Sep 17 00:00:00 2001 From: Camden Moors <66680985+camdenmoors@users.noreply.github.com> Date: Thu, 20 Jan 2022 13:36:56 -0500 Subject: [PATCH 14/16] Include github repo in all gemspecs, update SAF email, --- .github/workflows/release.yml | 7 ++----- emass_client/ruby_client/emass_client.gemspec | 2 ++ emasser.gemspec | 2 +- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3ca83e7..9ce08ba 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -38,12 +38,9 @@ jobs: #gem push --KEY rubygems --host https://rubygems.org emass_client/ruby_client/*.gem - name: Publish to GPR run: | - # gem push --KEY github --host https://rubygems.pkg.github.com/${OWNER} *.gem - # Multiple package release not working (emass_client) - # ERROR: While executing gem ... (Gem::Package::FormatError) - # No such file or directory @ rb_sysopen - emass_client/ruby_client/*.gem + gem push --KEY github --host https://rubygems.pkg.github.com/mitre *.gem ls -la ls -la emass_client/ruby_client - gem push --KEY github --host https://rubygems.pkg.github.com/${OWNER} emass_client/ruby_client/*.gem + gem push --KEY github --host https://rubygems.pkg.github.com/mitre emass_client/ruby_client/*.gem env: OWNER: mitre diff --git a/emass_client/ruby_client/emass_client.gemspec b/emass_client/ruby_client/emass_client.gemspec index 596dabd..3ad1c7c 100644 --- a/emass_client/ruby_client/emass_client.gemspec +++ b/emass_client/ruby_client/emass_client.gemspec @@ -26,6 +26,8 @@ Gem::Specification.new do |s| s.license = "Unlicense" s.required_ruby_version = ">= 1.9" + s.metadata = { "github_repo" => "ssh://github.com/mitre/emasser" } + s.add_runtime_dependency 'typhoeus', '~> 1.0', '>= 1.0.1' s.add_runtime_dependency 'json', '~> 2.1', '>= 2.1.0' diff --git a/emasser.gemspec b/emasser.gemspec index 661e04c..2efb194 100644 --- a/emasser.gemspec +++ b/emasser.gemspec @@ -6,7 +6,7 @@ Gem::Specification.new do |spec| spec.name = 'emasser' spec.version = Emasser::VERSION spec.authors = ['Amndeep Singh Mann', 'George Dias', 'Kyle Fagan', 'Robert Clark', 'Aaron Lippold'] - spec.email = ['saf@mitre.org'] + spec.email = ['saf@groups.mitre.org'] spec.licenses = ['Apache-2.0'] spec.summary = 'Provide an automated capability for invoving eMASS API endpoints' From 3e2c6ea9ee8f27543f8af23fdd0fc803445d9449 Mon Sep 17 00:00:00 2001 From: Camden Moors <66680985+camdenmoors@users.noreply.github.com> Date: Thu, 20 Jan 2022 13:37:35 -0500 Subject: [PATCH 15/16] Update release.yml --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9ce08ba..f3e7e58 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -38,7 +38,7 @@ jobs: #gem push --KEY rubygems --host https://rubygems.org emass_client/ruby_client/*.gem - name: Publish to GPR run: | - gem push --KEY github --host https://rubygems.pkg.github.com/mitre *.gem + #gem push --KEY github --host https://rubygems.pkg.github.com/mitre *.gem ls -la ls -la emass_client/ruby_client gem push --KEY github --host https://rubygems.pkg.github.com/mitre emass_client/ruby_client/*.gem From b2e4e3cecc5e9e6e4ab4d47a976de05b63f01107 Mon Sep 17 00:00:00 2001 From: Camden Moors <66680985+camdenmoors@users.noreply.github.com> Date: Thu, 20 Jan 2022 13:40:00 -0500 Subject: [PATCH 16/16] Restore release action --- .github/workflows/release.yml | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f3e7e58..0537b3f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,10 +1,8 @@ name: Build and release gem on: - push: - branches: [main] - pull_request: - branches: [main] + release: + types: [published] jobs: release: @@ -34,13 +32,11 @@ jobs: run: gem build -C emass_client/ruby_client/ emass_client.gemspec - name: Publish to RubyGems run: | - #gem push --KEY rubygems --host https://rubygems.org *.gem - #gem push --KEY rubygems --host https://rubygems.org emass_client/ruby_client/*.gem + gem push --KEY rubygems --host https://rubygems.org *.gem + gem push --KEY rubygems --host https://rubygems.org emass_client/ruby_client/*.gem - name: Publish to GPR run: | - #gem push --KEY github --host https://rubygems.pkg.github.com/mitre *.gem - ls -la - ls -la emass_client/ruby_client + gem push --KEY github --host https://rubygems.pkg.github.com/mitre *.gem gem push --KEY github --host https://rubygems.pkg.github.com/mitre emass_client/ruby_client/*.gem env: OWNER: mitre