You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/ACTIONS.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,7 +28,7 @@ Currently, we have both GitHub-hosted and self-hosted runners for running the Gi
28
28
### Getting Started with self-hosted runners
29
29
* Refer to [this README](./gh-actions-self-hosted-runners/README.md) for the steps for creating your own self-hosted runners for testing your workflows.
30
30
* Depending on your workflow's needs, it must specify the following `runs-on` tags to run in the specified operating system:
@@ -180,9 +180,9 @@ Note: most workflows use [self-hosted runners](https://docs.github.com/en/action
180
180
with the main and ubuntu labels to execute ([example](https://github.com/apache/beam/blob/5a54ee6ddd8cb8444c41802929a364fe2561001e/.github/workflows/beam_PostCommit_Go_Dataflow_ARM.yml#L41)).
181
181
If you are testing on a fork, you likely will not have self-hosted runners set up.
182
182
To work around this, you can start using hosted runners and then switch over when you're ready to create a PR.
183
-
You can do this by changing `runs-on: [self-hosted, ubuntu-20.04, main]` (self-hosted, use in your PR) to `runs-on: ubuntu-20.04` (GitHub hosted, use for local testing).
183
+
You can do this by changing `runs-on: [self-hosted, ubuntu-24.04, main]` (self-hosted, use in your PR) to `runs-on: ubuntu-24.04` (GitHub hosted, use for local testing).
184
184
185
-
Note when using `ubuntu-20.04` as the host, you might need to choose the Java version since some gradle tasks only work with a certain Java version.
185
+
Note when using `ubuntu-24.04` as the host, you might need to choose the Java version since some gradle tasks only work with a certain Java version.
186
186
One example is below to use Java 11 when testing your workflow:
187
187
```
188
188
steps:
@@ -211,7 +211,7 @@ If you run into this issue, you can either:
211
211
212
212
Additionally, as mentioned above your fork likely will not have self-hosted runners set up.
213
213
To work around this, you can start using hosted runners and then switch over when you're ready to create a PR.
214
-
You can do this by changing runs-on: [self-hosted, ubuntu-20.04, main] (self-hosted, use in your PR) to runs-on: ubuntu-20.04 (GitHub hosted, use for local testing).
214
+
You can do this by changing runs-on: [self-hosted, ubuntu-24.04, main] (self-hosted, use in your PR) to runs-on: ubuntu-24.04 (GitHub hosted, use for local testing).
215
215
216
216
# Workflows
217
217
Please note that jobs with matrix need to have matrix element in the comment. Example:
0 commit comments