Skip to content

Commit

Permalink
Additional fix for gem push
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-ross committed Nov 16, 2020
1 parent 0e4be37 commit 9cc5fa7
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 17 deletions.
33 changes: 17 additions & 16 deletions .github/workflows/gempush.yml
Original file line number Diff line number Diff line change
@@ -1,31 +1,32 @@
name: Ruby Gem
name: Gem push
on:
release:
types: [published]
jobs:
build:
name: Build + Publish
github:
name: Build + Publish to GitHub
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Set up Ruby 2.6
uses: actions/setup-ruby@v1
with:
version: 2.6.x
- name: Publish to GitHub
uses: jstastny/publish-gem-to-github@master
with:
token: ${{ secrets.GITHUB_TOKEN }}
owner: standout

- name: Publish to GPR
run: |
mkdir -p $HOME/.gem
touch $HOME/.gem/credentials
chmod 0600 $HOME/.gem/credentials
printf -- "---\n:github: Bearer ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials
gem build *.gemspec
gem push --KEY github --host https://rubygems.pkg.github.com/${OWNER} *.gem
env:
GEM_HOST_API_KEY: ${{secrets.GITHUB_TOKEN}}
OWNER: standout

rubygems:
name: Build + Publish to Rubygems
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Ruby 2.6
uses: actions/setup-ruby@v1
with:
version: 2.6.x
- name: Publish to RubyGems
run: |
mkdir -p $HOME/.gem
Expand Down
2 changes: 1 addition & 1 deletion lib/standout/capybara/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

module Standout
module Capybara
VERSION = '2.1.1'
VERSION = '2.1.2'
end
end

0 comments on commit 9cc5fa7

Please sign in to comment.