github_actions_testing 0.1.0 → 0.1.2
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/gempush.yml +8 -5
- data/lib/github_actions_testing/version.rb +3 -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: de48f6c747f09ec64d05b214ef8375c11d49a1c2975c1ddc0ff9a8143f72f90e
|
4
|
+
data.tar.gz: edf35bf1782c58f1df25750819dcc7bd857a832e8b4b821ebc8b19ef77370085
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0d8d5373e519de7e9c7ca3d3c82aadf4bdd5f72a8f8c2145b37d0f1156f9fe2800bb835e8b20c7de9768242e4f5d2536212d7c4b7a5d8e59eb2115a1436d5463
|
7
|
+
data.tar.gz: 1c9a734efe4bcac31039c73ae90251e4cf5f0a53220551358d471967b65c25f2290645a0f7adca8362c533a27e8a32bdef530b9e665126b4ea4c4a0ab3175edd
|
@@ -2,8 +2,10 @@ name: Ruby Gem
|
|
2
2
|
|
3
3
|
on:
|
4
4
|
push:
|
5
|
-
|
6
|
-
|
5
|
+
branches:
|
6
|
+
- master
|
7
|
+
paths:
|
8
|
+
- '**/version.rb'
|
7
9
|
|
8
10
|
jobs:
|
9
11
|
build:
|
@@ -27,9 +29,10 @@ jobs:
|
|
27
29
|
run: |
|
28
30
|
mkdir -p $HOME/.gem
|
29
31
|
touch $HOME/.gem/credentials
|
32
|
+
git config --global user.email "charlie.tanksley@healthfinch.com"
|
33
|
+
git config --global user.name "Charlie Tanksley"
|
30
34
|
chmod 0600 $HOME/.gem/credentials
|
31
|
-
printf -- "---\n:rubygems_api_key: ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials
|
32
|
-
|
33
|
-
gem push *.gem
|
35
|
+
printf -- "---\n:rubygems_api_key: ${GEM_HOST_API_KEY}\n:github: Bearer ${GITHUB_TOKEN}\n" > $HOME/.gem/credentials
|
36
|
+
bundle exec rake release
|
34
37
|
env:
|
35
38
|
GEM_HOST_API_KEY: ${{secrets.RUBYGEMS_AUTH_TOKEN}}
|