maxirmx_test_gem 0.3.5 → 0.4.0
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 +17 -1
- 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: a646792314318bc378d673a74e0ed73a7095d83d66c2490a9a6bfa8005a8d965
|
4
|
+
data.tar.gz: 0cf9bf4f02a5c7b16d3c47dc4d2355e7bf393f99bc4a4c2d181cefe3b8d8fded
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cf6f272d260e8b7892cadd0cb000f6f9197a3bf1fe1ea4ca6ed5de514008dc609db86f724f986e3f2fed53d5a2ee7868755309535d4384995b2fe68f0ed4b92a
|
7
|
+
data.tar.gz: dee9943210345282970bb089c65a9605296e1fff0bfcbdc4e719237d1e334a446e7d9c0e2eef7bcb0eab8b6cf49f3e76c7dec68e9bd7d6a068ddf0835cff5b95
|
@@ -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
|