Jarek>What we propose:
Jarek>.gitmodules

What is the purpose of git submodules here?
However, that suggests there's a way easier workaround (see PR
https://github.com/apache/calcite/pull/2318 ).
Action repository can be cloned right before the action is used.
No submodules needed, and the workaround works.

Before:

- uses: AdoptOpenJDK/install-jdk@v1
  with:
    impl: openj9
    version: '8'
    architecture: x64

After:

- name: Prepare Actions
  run: |
    git clone -c advice.detachedHead=false --branch v1 --depth 1
https://github.com/AdoptOpenJDK/install-jdk.git
./build/.actions/install-jdk
- uses: ./build/.actions/install-jdk
  with:
    impl: openj9
    version: '8'
    architecture: x64

Vladimir

Reply via email to