maxirmx_test_gem 0.3.0-x86_64-linux-musl → 0.4.0-x86_64-linux-musl

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: c052f1d373ca19a6e344983dc06c95934f9c167f0547d151d362206d3103a254
4
- data.tar.gz: daf58927edc4ffece470f8404302bdb65feb017f20d6c25068306d334acb7faa
3
+ metadata.gz: 61031d0b93bcd820658eb27282ce883f73e06476af691065443fb0f00bee7d05
4
+ data.tar.gz: 21b58ab7a70f7ccb8871584e55685ba5fff3a8ef3e6b85d72451e47285fe883c
5
5
  SHA512:
6
- metadata.gz: 7596a7630a166ba0be9759dcb2ce43ec7f24d28bdd011940f053f945188f09647f5cd54e2e433a1318e0a16e4117f2e939299e95072ee652a1c3234820da7b13
7
- data.tar.gz: '0583ef84419b7797ff6cd9310562ab4ecd32ff0b917255a277bb8b9a1d4e8ced230dd91b470405a3aaba4b88098cea1455fb5376b83cd71aecb57fa269bec2a1'
6
+ metadata.gz: ff217365e29292bbaad8788abbb06e99739ae12d6fc774bab996d9a62dd9c248672d54b7c509aaec7a0fc92cab42d72322bf9e5c69fb9236163fea56f80826cc
7
+ data.tar.gz: e53c236d34dfbf40227b3bc2cbd93b4c2f269939039f171e8660b4ba09cffeb1dff32a6c1c3c02a5fb3f8d33077cd8b28f0a41ad3f366b8e7d42275ce9f7b818
@@ -12,10 +12,11 @@ on:
12
12
  # tags: [ v* ]
13
13
  permissions:
14
14
  contents: write
15
+ packages: write
15
16
 
16
17
  jobs:
17
18
  bump:
18
- runs-on: ubuntu-22.04
19
+ runs-on: ubuntu-latest
19
20
  steps:
20
21
  - name: Checkout
21
22
  uses: actions/checkout@v4
@@ -39,6 +40,8 @@ jobs:
39
40
  steps:
40
41
  - name: Checkout
41
42
  uses: actions/checkout@v4
43
+ with:
44
+ ref: main
42
45
 
43
46
  - name: Install Ruby
44
47
  uses: ruby/setup-ruby@v1
@@ -85,6 +88,8 @@ jobs:
85
88
 
86
89
  - name: Checkout
87
90
  uses: actions/checkout@v4
91
+ with:
92
+ ref: main
88
93
 
89
94
  - name: Install bundle
90
95
  run: |
@@ -134,4 +139,19 @@ jobs:
134
139
  for gem in $(find pkg -name "*.gem"); do
135
140
  echo "Publishing $gem"
136
141
  gem push $gem -V
137
- 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.0"
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.0
4
+ version: 0.4.0
5
5
  platform: x86_64-linux-musl
6
6
  authors:
7
7
  - Maxim [maxirmx] Samsonov