Skip to content

Commit 93b5aeb

Browse files
committed
Add publish CI step
1 parent 06dccb9 commit 93b5aeb

File tree

2 files changed

+30
-1
lines changed

2 files changed

+30
-1
lines changed

.github/workflows/publish.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Publish
2+
3+
on:
4+
workflow_dispatch:
5+
6+
jobs:
7+
publish:
8+
runs-on: ubuntu-latest
9+
10+
steps:
11+
- name: Checkout code
12+
uses: actions/checkout@v4
13+
14+
- name: Set up Ruby
15+
uses: ruby/setup-ruby@v1
16+
with:
17+
ruby-version: 3.3.6
18+
bundler-cache: true
19+
20+
- name: Set RubyGems credentials
21+
run: |
22+
mkdir ~/.gem
23+
echo ":rubygems_api_key: ${{secrets.RUBY_GEMS_KEY}}" > ~/.gem/credentials
24+
chmod 0600 ~/.gem/credentials
25+
26+
- name: Publish version
27+
run: |
28+
bundle exec rake build
29+
bundle exec rake release

lib/omniauth/kit_oauth2/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
module Omniauth
22
module Kit
33
module Oauth2
4-
VERSION = "0.1.3"
4+
VERSION = "0.1.4-0"
55
end
66
end
77
end

0 commit comments

Comments
 (0)