File tree 3 files changed +32
-2
lines changed
3 files changed +32
-2
lines changed Original file line number Diff line number Diff line change
1
+ name : Ruby Gem
2
+
3
+ on :
4
+ release :
5
+ types : [created]
6
+
7
+ jobs :
8
+ build :
9
+ name : Build + Publish
10
+ runs-on : ubuntu-latest
11
+ permissions :
12
+ contents : read
13
+
14
+ steps :
15
+ - uses : actions/checkout@v3
16
+ - name : Set up Ruby 2.6
17
+ uses : ruby/setup-ruby@v1
18
+ with :
19
+ ruby-version : 3.1
20
+
21
+ - name : Publish to RubyGems
22
+ run : |
23
+ mkdir -p $HOME/.gem
24
+ touch $HOME/.gem/credentials
25
+ chmod 0600 $HOME/.gem/credentials
26
+ printf -- "---\n:rubygems_api_key: ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials
27
+ gem build *.gemspec
28
+ gem push *.gem
29
+ env :
30
+ GEM_HOST_API_KEY : " ${{secrets.RUBYGEMS_AUTH_TOKEN}}"
Original file line number Diff line number Diff line change 1
1
PATH
2
2
remote: .
3
3
specs:
4
- rspec-sql (0.0.0 )
4
+ rspec-sql (0.0.1 )
5
5
activesupport
6
6
rspec
7
7
Original file line number Diff line number Diff line change 1
1
Gem ::Specification . new do |s |
2
2
s . name = "rspec-sql"
3
- s . version = "0.0.0 "
3
+ s . version = "0.0.1 "
4
4
s . summary = "RSpec::Sql matcher"
5
5
s . description = "RSpec matcher for database queries."
6
6
s . authors = [ "Maikel Linke" , "Open Food Network contributors" ]
You can’t perform that action at this time.
0 commit comments