Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 10d7485

Browse files
retamulugetam
authored andcommittedJan 10, 2025·
Fix GitHib action workflows (#212)
Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
1 parent 7b51b37 commit 10d7485

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed
 

‎.github/workflows/check.yml

+5-7
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,11 @@ jobs:
1818
# using the same image which is used by opensearch-build team to build the OpenSearch Distribution
1919
# this image tag is subject to change as more dependencies and updates will arrive over time
2020
image: ${{ needs.Get-CI-Image-Tag.outputs.ci-image-version-linux }}
21-
# need to switch to root so that github actions can install runner binary on container without permission issues.
22-
options: --user root
23-
env:
24-
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true
25-
21+
options: ${{ needs.Get-CI-Image-Tag.outputs.ci-image-start-options }}
2622
steps:
27-
- uses: actions/checkout@v3
23+
- name: Run start commands
24+
run: ${{ needs.Get-CI-Image-Tag.outputs.ci-image-start-command }}
25+
- uses: actions/checkout@v4
2826
- name: Run Gradle (check)
2927
run: |
3028
# https://github.com/opensearch-project/opensearch-build/issues/4191
@@ -44,7 +42,7 @@ jobs:
4442
os: [windows-latest, macos-13]
4543
runs-on: ${{ matrix.os }}
4644
steps:
47-
- uses: actions/checkout@v3
45+
- uses: actions/checkout@v4
4846
- name: Set up JDK ${{ matrix.java }}
4947
uses: actions/setup-java@v3
5048
with:

0 commit comments

Comments
 (0)
Please sign in to comment.