File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,18 +2,20 @@ name: Setup Go
22description : ' Sets up Go environment with private modules'
33inputs :
44 stainless-api-key :
5- required : true
5+ required : false
66 description : the value of the STAINLESS_API_KEY secret
77runs :
88 using : composite
99 steps :
1010 - uses : stainless-api/retrieve-github-access-token@v1
11+ if : github.repository == 'stainless-sdks/beeper-desktop-api-cli'
1112 id : get_token
1213 with :
1314 repo : stainless-sdks/beeper-desktop-api-go
1415 stainless-api-key : ${{ inputs.stainless-api-key }}
1516
1617 - name : Configure Git for access to the Go SDK's staging repo
18+ if : github.repository == 'stainless-sdks/beeper-desktop-api-cli'
1719 shell : bash
1820 run : git config --global url."https://x-access-token:${{ steps.get_token.outputs.github_access_token }}@github.com/stainless-sdks/beeper-desktop-api-go".insteadOf "https://github.com/stainless-sdks/beeper-desktop-api-go"
1921
You can’t perform that action at this time.
0 commit comments