Skip to content

Commit

Permalink
Merge pull request #233 from collectiveidea/trusted-publishing
Browse files Browse the repository at this point in the history
Trusted publishing
  • Loading branch information
albus522 authored Aug 15, 2024
2 parents beb41d3 + 6b37e94 commit 9384375
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 2 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/publish_gem.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Publish Gem

on:
push:
tags:
- v*

jobs:
push:
if: github.repository == 'collectiveidea/delayed_job_active_record'
runs-on: ubuntu-latest
environment: publishing

permissions:
contents: write
id-token: write

steps:
# Set up
- uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
bundler-cache: true
ruby-version: ruby

# Release
- uses: rubygems/release-gem@v1
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
**If you're viewing this at https://github.com/collectiveidea/delayed_job_active_record,
you're reading the documentation for the master branch.
[View documentation for the latest release
(4.1.7).](https://github.com/collectiveidea/delayed_job_active_record/tree/v4.1.8)**
(4.1.9.rc1).](https://github.com/collectiveidea/delayed_job_active_record/tree/v4.1.9.rc1)**

# DelayedJob ActiveRecord Backend

Expand Down
2 changes: 1 addition & 1 deletion delayed_job_active_record.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Gem::Specification.new do |spec|
spec.name = "delayed_job_active_record"
spec.version = "4.1.8"
spec.version = "4.1.9.rc1"
spec.summary = "ActiveRecord backend for DelayedJob"
spec.description = "ActiveRecord backend for Delayed::Job, originally authored by Tobias Lütke"

Expand Down

0 comments on commit 9384375

Please sign in to comment.