Skip to content

Commit

Permalink
Publish new releases by GitHub Actions (#78)
Browse files Browse the repository at this point in the history
* build: adds release action

* build: bump to 1.9.0
  • Loading branch information
pftg authored Jul 30, 2024
1 parent c564934 commit f942c0f
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 1 deletion.
24 changes: 24 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
---
on:
workflow_dispatch:

jobs:
push:
name: Push gem to RubyGems.org
runs-on: ubuntu-latest

permissions:
id-token: write # IMPORTANT: this permission is mandatory for trusted publishing
contents: write # IMPORTANT: this permission is required for `rake release` to push the release tag

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 lib/capybara/screenshot/diff/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
module Capybara
module Screenshot
module Diff
VERSION = "1.8.3"
VERSION = "1.9.0"
end
end
end

0 comments on commit f942c0f

Please sign in to comment.