Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/create-releases.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
name: Create releases
on:
schedule:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: no biggie, but having a manual release trigger wouldnt hurt!

I think that's what the cron job in the python-sdk functionally does actually

- cron: '0 5 * * *' # every day at 5am UTC
push:
branches:
- main
Expand All @@ -26,6 +24,7 @@ jobs:
stainless-api-key: ${{ secrets.STAINLESS_API_KEY }}

- name: Set up Ruby
if: ${{ steps.release.outputs.releases_created }}
uses: ruby/setup-ruby@v1
with:
bundler-cache: false
Expand All @@ -34,6 +33,7 @@ jobs:
bundle install

- name: Publish to RubyGems.org
if: ${{ steps.release.outputs.releases_created }}
run: |
bash ./bin/publish-gem
env:
Expand Down
Loading