Skip to content

Commit b0a523e

Browse files
author
meorphis
committed
fix
1 parent 7eb9185 commit b0a523e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/create-releases.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
name: Create releases
22
on:
3-
schedule:
4-
- cron: '0 5 * * *' # every day at 5am UTC
53
push:
64
branches:
75
- main
@@ -26,6 +24,7 @@ jobs:
2624
stainless-api-key: ${{ secrets.STAINLESS_API_KEY }}
2725

2826
- name: Set up Ruby
27+
if: ${{ steps.release.outputs.releases_created }}
2928
uses: ruby/setup-ruby@v1
3029
with:
3130
bundler-cache: false
@@ -34,6 +33,7 @@ jobs:
3433
bundle install
3534

3635
- name: Publish to RubyGems.org
36+
if: ${{ steps.release.outputs.releases_created }}
3737
run: |
3838
bash ./bin/publish-gem
3939
env:

0 commit comments

Comments
 (0)