-
-
Notifications
You must be signed in to change notification settings - Fork 422
Commit c9663a3
[skip changelog] Migrate workflows from deprecated
GitHub Actions provides the capability for workflow authors to use the capabilities of the GitHub Actions ToolKit
package directly in the `run` keys of workflows via "workflow commands". One such command is `set-output`, which allows
data to be passed out of a workflow step as an output.
It has been determined that this command has potential to be a security risk in some applications. For this reason,
GitHub has deprecated the command and a warning of this is shown in the workflow run summary page of any workflow using
it:
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more
information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
The identical capability is now provided in a safer form via the GitHub Actions "environment files" system. Migrating
the use of the deprecated workflow commands to use the `GITHUB_OUTPUT` environment file instead fixes any potential
vulnerabilities in the workflows, resolves the warnings, and avoids the eventual complete breakage of the workflows that
would result from GitHub's planned removal of the `set-output` workflow command 2023年05月31日.set-output
commands (#1940)1 parent 61ba685 commit c9663a3
File tree
11 files changed
+15
-15
lines changed- .github/workflows
11 files changed
+15
-15
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
108 | 108 |
| |
109 | 109 |
| |
110 | 110 |
| |
111 | - | ||
111 | + | ||
112 | 112 |
| |
113 | 113 |
| |
114 | 114 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
56 | 56 |
| |
57 | 57 |
| |
58 | 58 |
| |
59 | - | ||
59 | + | ||
60 | 60 |
| |
61 | 61 |
| |
62 | 62 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
47 | 47 |
| |
48 | 48 |
| |
49 | 49 |
| |
50 | - | ||
50 | + | ||
51 | 51 |
| |
52 | 52 |
| |
53 | 53 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
42 | 42 |
| |
43 | 43 |
| |
44 | 44 |
| |
45 | - | ||
45 | + | ||
46 | 46 |
| |
47 | 47 |
| |
48 | 48 |
| |
|
Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
45 | 45 |
| |
46 | 46 |
| |
47 | 47 |
| |
48 | - | ||
48 | + | ||
49 | 49 |
| |
50 | 50 |
| |
51 | 51 |
| |
| |||
93 | 93 |
| |
94 | 94 |
| |
95 | 95 |
| |
96 | - | ||
96 | + | ||
97 | 97 |
| |
98 | 98 |
| |
99 | 99 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
56 | 56 |
| |
57 | 57 |
| |
58 | 58 |
| |
59 | - | ||
59 | + | ||
60 | 60 |
| |
61 | 61 |
| |
62 | 62 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
51 | 51 |
| |
52 | 52 |
| |
53 | 53 |
| |
54 | - | ||
54 | + | ||
55 | 55 |
| |
56 | 56 |
| |
57 | 57 |
| |
| |||
69 | 69 |
| |
70 | 70 |
| |
71 | 71 |
| |
72 | - | ||
72 | + | ||
73 | 73 |
| |
74 | 74 |
| |
75 | 75 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
61 | 61 |
| |
62 | 62 |
| |
63 | 63 |
| |
64 | - | ||
64 | + | ||
65 | 65 |
| |
66 | 66 |
| |
67 | 67 |
| |
| |||
254 | 254 |
| |
255 | 255 |
| |
256 | 256 |
| |
257 | - | ||
257 | + | ||
258 | 258 |
| |
259 | 259 |
| |
260 | 260 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
103 | 103 |
| |
104 | 104 |
| |
105 | 105 |
| |
106 | - | ||
106 | + | ||
107 | 107 |
| |
108 | 108 |
| |
109 | 109 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
55 | 55 |
| |
56 | 56 |
| |
57 | 57 |
| |
58 | - | ||
58 | + | ||
59 | 59 |
| |
60 | 60 |
| |
61 | 61 |
| |
| |||
70 | 70 |
| |
71 | 71 |
| |
72 | 72 |
| |
73 | - | ||
73 | + | ||
74 | 74 |
| |
75 | 75 |
| |
76 | 76 |
| |
|
0 commit comments