maxirmx_test_gem 0.3.5-x86_64-linux → 0.4.0-x86_64-linux

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0df83dd74b8ef7168908930848c952c487b01ac62ce6870df4565ec56f3fbef9
4
- data.tar.gz: 7dd307a2fbbf253d473a4bdba8d52347ea393acf6188162af34e6c23ab5bce30
3
+ metadata.gz: e244365f648cd6f8c6e297ec827265c2177ae6c9d2d92b7ce5449c0b0f0c2cb5
4
+ data.tar.gz: 14c9dcb3c91824a662864e0d4abff0f03b3ecd4c67669078a470eb0eca073742
5
5
  SHA512:
6
- metadata.gz: 1b8ba8e4966bcffa67493265d6562eaf22d0c4b15398cd75fff750301b2ad97a2c7d57ab8e85a3cda1d78c40d8a07f5518d12fd9f9dba1c288ffd6a1779172d4
7
- data.tar.gz: 6a651afb790ac1f525616bbda9c4541bdbcd73714c674bec42b2aeaa3b8d37554b6dfdda1f808ab5482a381a034308ab44eb4c2e278f5029967ccab16c0bf30b
6
+ metadata.gz: 8ebb059774244f2e75c24de38b79be89e28a93a26b4abbd3b65ba7725a77faca504318cb32c073457b5751144dca78c1a6bc0e66262c042fe20ee4001a0397e5
7
+ data.tar.gz: 8e8d682932f720b64de6aba9818d513164c7e6af3aad233d8b136ac4485cf1b0b7b78e7c18125baeab191c274b0b9872ca01c288c0cc812758f5d80d21432742
@@ -12,6 +12,7 @@ on:
12
12
  # tags: [ v* ]
13
13
  permissions:
14
14
  contents: write
15
+ packages: write
15
16
 
16
17
  jobs:
17
18
  bump:
@@ -138,4 +139,19 @@ jobs:
138
139
  for gem in $(find pkg -name "*.gem"); do
139
140
  echo "Publishing $gem"
140
141
  gem push $gem -V
141
- done
142
+ done
143
+
144
+ - name: Publish to GitHub Packages
145
+ env:
146
+ GITHUB_API_KEY: ${{ secrets.GITHUB_TOKEN }}
147
+ run: |
148
+ mkdir -p ~/.gem
149
+ cat > ~/.gem/credentials << EOF
150
+ ---
151
+ :github: Bearer ${GITHUB_API_KEY}
152
+ EOF
153
+ chmod 0600 ~/.gem/credentials
154
+ for gem in $(find pkg -name "*.gem"); do
155
+ echo "Publishing to GitHub Packages: $gem"
156
+ gem push $gem --host https://rubygems.pkg.github.com/${{ github.repository_owner }}
157
+ done
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module TestGem
4
- VERSION = "0.3.5"
4
+ VERSION = "0.4.0"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: maxirmx_test_gem
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.5
4
+ version: 0.4.0
5
5
  platform: x86_64-linux
6
6
  authors:
7
7
  - Maxim [maxirmx] Samsonov