File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -65,22 +65,28 @@ jobs:
6565 run : ./scripts/build
6666
6767 - name : Get GitHub OIDC Token
68- if : github.repository == 'stainless-sdks/sent-dm-typescript'
68+ if : |-
69+ github.repository == 'stainless-sdks/sent-dm-typescript' &&
70+ !startsWith(github.ref, 'refs/heads/stl/')
6971 id : github-oidc
7072 uses : actions/github-script@v8
7173 with :
7274 script : core.setOutput('github_token', await core.getIDToken());
7375
7476 - name : Upload tarball
75- if : github.repository == 'stainless-sdks/sent-dm-typescript'
77+ if : |-
78+ github.repository == 'stainless-sdks/sent-dm-typescript' &&
79+ !startsWith(github.ref, 'refs/heads/stl/')
7680 env :
7781 URL : https://pkg.stainless.com/s
7882 AUTH : ${{ steps.github-oidc.outputs.github_token }}
7983 SHA : ${{ github.sha }}
8084 run : ./scripts/utils/upload-artifact.sh
8185
8286 - name : Upload MCP Server tarball
83- if : github.repository == 'stainless-sdks/sent-dm-typescript'
87+ if : |-
88+ github.repository == 'stainless-sdks/sent-dm-typescript' &&
89+ !startsWith(github.ref, 'refs/heads/stl/')
8490 env :
8591 URL : https://pkg.stainless.com/s?subpackage=mcp-server
8692 AUTH : ${{ steps.github-oidc.outputs.github_token }}
You can’t perform that action at this time.
0 commit comments