maxirmx_test_gem 0.3.0-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 +4 -4
- data/.github/workflows/release.yml +22 -2
- data/lib/maxirmx_test_gem/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e244365f648cd6f8c6e297ec827265c2177ae6c9d2d92b7ce5449c0b0f0c2cb5
|
4
|
+
data.tar.gz: 14c9dcb3c91824a662864e0d4abff0f03b3ecd4c67669078a470eb0eca073742
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8ebb059774244f2e75c24de38b79be89e28a93a26b4abbd3b65ba7725a77faca504318cb32c073457b5751144dca78c1a6bc0e66262c042fe20ee4001a0397e5
|
7
|
+
data.tar.gz: 8e8d682932f720b64de6aba9818d513164c7e6af3aad233d8b136ac4485cf1b0b7b78e7c18125baeab191c274b0b9872ca01c288c0cc812758f5d80d21432742
|
@@ -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-
|
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
|