Skip to content

Commit ea55a64

Browse files
committed
Use Ruby 3.2 for publish workflow
Fixes "Unknown command exec" errors
1 parent 300f4e4 commit ea55a64

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/publish.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,10 @@ name: Publish to RubyGems.org
22

33
on:
44
push:
5-
branches: main
6-
paths: lib/zendesk_api/version.rb
5+
branches:
6+
- main
7+
paths:
8+
- lib/zendesk_api/version.rb
79
workflow_dispatch:
810

911
jobs:
@@ -20,7 +22,7 @@ jobs:
2022
uses: ruby/setup-ruby@v1
2123
with:
2224
bundler-cache: false
23-
25+
ruby-version: "3.2"
2426
- name: Install dependencies
2527
run: bundle install
2628
- uses: rubygems/release-gem@v1

0 commit comments

Comments
 (0)