File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 36
36
run : ./scripts/lint
37
37
38
38
build :
39
- if : github.repository == 'stainless-sdks/lithic-python' && (github. event_name == 'push' || github.event.pull_request.head.repo.fork)
39
+ if : github.event_name == 'push' || github.event.pull_request.head.repo.fork
40
40
timeout-minutes : 10
41
41
name : build
42
42
permissions :
@@ -61,12 +61,14 @@ jobs:
61
61
run : rye build
62
62
63
63
- name : Get GitHub OIDC Token
64
+ if : github.repository == 'stainless-sdks/lithic-python'
64
65
id : github-oidc
65
66
uses : actions/github-script@v6
66
67
with :
67
68
script : core.setOutput('github_token', await core.getIDToken());
68
69
69
70
- name : Upload tarball
71
+ if : github.repository == 'stainless-sdks/lithic-python'
70
72
env :
71
73
URL : https://pkg.stainless.com/s
72
74
AUTH : ${{ steps.github-oidc.outputs.github_token }}
You can’t perform that action at this time.
0 commit comments