Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add publish to RubyGems into the workflow #114

Merged
merged 1 commit into from
Aug 21, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ updates:
- package-ecosystem: bundler
directory: "/"
schedule:
interval: daily
open-pull-requests-limit: 10
interval: weekly
open-pull-requests-limit: 5
ignore:
- dependency-name: github_changelog_generator
versions:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/linters.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
name: 'Test'
name: "Lint Unit"

'on':
"on":
pull_request:

jobs:
Expand Down
19 changes: 15 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,28 @@
---
name: Publish

'on':
"on":
release:
types: [published]

jobs:
build:
publish-to-github:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build and publish gem
uses: jstastny/publish-gem-to-github@master

- name: Build and publish to GitHub Package
uses: actionshub/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}
owner: ${{ secrets.OWNER }}

publish-to-rubygems:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- name: Build and publish to RubyGems
uses: actionshub/[email protected]
with:
api_key: ${{ secrets.RUBY_GEMS_API_KEY }}
Loading