Skip to content

Commit

Permalink
worflow update
Browse files Browse the repository at this point in the history
  • Loading branch information
sergiobayona committed Feb 22, 2024
1 parent 2e63056 commit 833b081
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/gem-release.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
name: Gem Release

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
types:
- closed

jobs:
build:
if_merged:
if: github.event.pull_request.merged == true
runs-on: ubuntu-latest
name: Build + Publish with Ruby ${{ matrix.ruby }}
strategy:
Expand All @@ -17,8 +18,9 @@ jobs:
permissions:
contents: read
packages: write

steps:
- run: |
echo The PR was merged
- uses: actions/checkout@v3
- name: Set up Ruby
uses: ruby/setup-ruby@v1
Expand Down

0 comments on commit 833b081

Please sign in to comment.