File tree Expand file tree Collapse file tree 2 files changed +38
-1
lines changed Expand file tree Collapse file tree 2 files changed +38
-1
lines changed Original file line number Diff line number Diff line change
1
+ name : Publish
2
+ on :
3
+ release :
4
+ types : [published]
5
+
6
+ jobs :
7
+ publish :
8
+ runs-on : ubuntu-latest
9
+ steps :
10
+ - name : Checkout xero-ruby repo
11
+ uses : actions/checkout@v4
12
+ with :
13
+ repository : XeroAPI/xero-ruby
14
+ path : xero-ruby
15
+
16
+ - name : Set up Ruby environment
17
+ uses : ruby/setup-ruby@v1
18
+ with :
19
+ ruby-version : ' 3.2.0'
20
+ bundler-cache : true
21
+
22
+ - name : Install dependencies
23
+ run : bundle install
24
+ working-directory : xero-ruby
25
+
26
+ - name : Run Build
27
+ run : gem build
28
+ working-directory : xero-ruby
29
+
30
+ - name : Publish to Ruby
31
+ env :
32
+ RUBYGEMS_API_KEY : ${{ secrets.RUBYGEMS_API_KEY }}
33
+ run : |
34
+ gemspec_file=$(ls *.gemspec)
35
+ gem_file=$(gem build "$gemspec_file" | grep -o '[^ ]*\.gem')
36
+ echo "$gem_file"
37
+ working-directory : xero-ruby
Original file line number Diff line number Diff line change 11
11
=end
12
12
13
13
module XeroRuby
14
- VERSION = '9.3.0'
14
+ VERSION = '9.3.0-alpha '
15
15
end
You can’t perform that action at this time.
0 commit comments