Commit cf6bcc2
committed
Move app token generation to just before release steps
GitHub App installation tokens expire after 1 hour. Previously the token
was generated at the very start of the workflow, before three full kernel
builds. On a 2-core runner these builds can easily exceed 1 hour, causing
the token to expire before the release creation and asset upload steps.
Move the token generation step to immediately before the 'Create release'
step so the token is fresh when it is actually needed.1 parent d8d1b0a commit cf6bcc2
1 file changed
+6
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | 10 | | |
17 | 11 | | |
18 | 12 | | |
| |||
31 | 25 | | |
32 | 26 | | |
33 | 27 | | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| |||
0 commit comments