Skip to content

Commit

Permalink
v1.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
robplan committed Nov 22, 2024
1 parent 538c5d1 commit fcfd0e6
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 74 deletions.
22 changes: 14 additions & 8 deletions .github/workflows/gem-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,23 +15,29 @@ jobs:
packages: write

steps:
- uses: actions/checkout@v3
- name: Set up Ruby 2.0.0
- uses: actions/checkout@v4
- name: Set up Ruby 3.3.0
# To automatically get bug fixes and new Ruby versions for ruby/setup-ruby,
# change this to (see https://github.com/ruby/setup-ruby#versioning):
# uses: ruby/setup-ruby@v1
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.0.0

ruby-version: 3.3.0

- name: Run the default task
run: bundle exec rake

- 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
cat $HOME/.gem/credentials
printf -- "---\n:github: ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials
gem build *.gemspec
gem push --KEY github --host https://rubygems.pkg.github.com/apptegy *.gem
gem push --KEY github --host https://rubygems.pkg.github.com/${OWNER} *.gem
env:
GEM_HOST_API_KEY: "${{secrets.GITHUB_TOKEN}}"
GEM_HOST_API_KEY: "Bearer ${{secrets.GITHUB_TOKEN}}"
OWNER: ${{ github.repository_owner }}

- name: Publish to RubyGems
run: |
Expand Down
48 changes: 0 additions & 48 deletions .github/workflows/gem-push_new.yml

This file was deleted.

16 changes: 0 additions & 16 deletions .github/workflows/main.yml

This file was deleted.

2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
neptuno (1.4.10)
neptuno (1.5.0)
dotiw
dry-cli
hirb
Expand Down
2 changes: 1 addition & 1 deletion lib/neptuno/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module Neptuno
VERSION = '1.4.10'
VERSION = '1.5.0'
end

0 comments on commit fcfd0e6

Please sign in to comment.