File tree Expand file tree Collapse file tree 7 files changed +9
-39
lines changed Expand file tree Collapse file tree 7 files changed +9
-39
lines changed Original file line number Diff line number Diff line change 12
12
lint :
13
13
name : lint
14
14
runs-on : ubuntu-latest
15
- if : github.repository == 'openai/openai-ruby'
15
+
16
16
17
17
steps :
18
18
- uses : actions/checkout@v4
29
29
test :
30
30
name : test
31
31
runs-on : ubuntu-latest
32
- if : github.repository == 'openai/openai-ruby'
33
32
34
33
steps :
35
34
- uses : actions/checkout@v4
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
- # workflow for re-running publishing to rubygems.org in case it fails for some reason
2
- # you can run this workflow by navigating to https://www.github.com/openai/openai-python/actions/workflows/publish-gem.yml
1
+ # This workflow is triggered when a GitHub release is created.
2
+ # It can also be run manually to re-publish to rubygems.org in case it failed for some reason.
3
+ # You can run this workflow by navigating to https://www.github.com/openai/openai-python/actions/workflows/publish-gem.yml
3
4
name : Publish Gem
4
5
on :
5
6
workflow_dispatch :
6
7
8
+ release :
9
+ types : [published]
10
+
7
11
jobs :
8
12
publish :
9
13
name : publish
Original file line number Diff line number Diff line change 19
19
run : |
20
20
bash ./bin/check-release-environment
21
21
env :
22
- STAINLESS_API_KEY : ${{ secrets.STAINLESS_API_KEY }}
23
22
RUBYGEMS_HOST : ${{ secrets.OPENAI_RUBYGEMS_HOST || secrets.RUBYGEMS_HOST }}
24
23
GEM_HOST_API_KEY : ${{ secrets.OPENAI_GEM_HOST_API_KEY || secrets.GEM_HOST_API_KEY }}
Original file line number Diff line number Diff line change 1
1
configured_endpoints : 80
2
- openapi_spec_url : https://storage.googleapis.com/stainless-sdk-openapi-specs/openai-c8579861bc21d4d2155a5b9e8e7d54faee8083730673c4d32cbbe573d7fb4116.yml
2
+ openapi_spec_url : https://storage.googleapis.com/stainless-sdk-openapi-specs/openai%2Fopenai -c8579861bc21d4d2155a5b9e8e7d54faee8083730673c4d32cbbe573d7fb4116.yml
Original file line number Diff line number Diff line change 2
2
3
3
errors=()
4
4
5
- if [ -z " ${STAINLESS_API_KEY} " ]; then
6
- errors+=(" The STAINLESS_API_KEY secret has not been set. Please contact Stainless for an API key & set it in your organization secrets on GitHub." )
7
- fi
8
-
9
5
if [ -z " ${GEM_HOST_API_KEY} " ]; then
10
6
errors+=(" The OPENAI_GEM_HOST_API_KEY secret has not been set. Please set it in either this repository's secrets or your organization secrets" )
11
7
fi
Original file line number Diff line number Diff line change 1
1
module OpenAI
2
- VERSION: "0.0.1 -alpha.0 "
2
+ VERSION: "0.1.0 -alpha.1 "
3
3
end
You can’t perform that action at this time.
0 commit comments