File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -55,22 +55,28 @@ jobs:
5555 run : ./scripts/build
5656
5757 - name : Get GitHub OIDC Token
58- if : github.repository == 'stainless-sdks/finch-typescript'
58+ if : |-
59+ github.repository == 'stainless-sdks/finch-typescript' &&
60+ !startsWith(github.ref, 'refs/heads/stl/')
5961 id : github-oidc
6062 uses : actions/github-script@v8
6163 with :
6264 script : core.setOutput('github_token', await core.getIDToken());
6365
6466 - name : Upload tarball
65- if : github.repository == 'stainless-sdks/finch-typescript'
67+ if : |-
68+ github.repository == 'stainless-sdks/finch-typescript' &&
69+ !startsWith(github.ref, 'refs/heads/stl/')
6670 env :
6771 URL : https://pkg.stainless.com/s
6872 AUTH : ${{ steps.github-oidc.outputs.github_token }}
6973 SHA : ${{ github.sha }}
7074 run : ./scripts/utils/upload-artifact.sh
7175
7276 - name : Upload MCP Server tarball
73- if : github.repository == 'stainless-sdks/finch-typescript'
77+ if : |-
78+ github.repository == 'stainless-sdks/finch-typescript' &&
79+ !startsWith(github.ref, 'refs/heads/stl/')
7480 env :
7581 URL : https://pkg.stainless.com/s?subpackage=mcp-server
7682 AUTH : ${{ steps.github-oidc.outputs.github_token }}
You can’t perform that action at this time.
0 commit comments