I am experimenting with Fogejo Actions workflows on my self-hosted runner. I'm trying to get a Java application build automated, and I'm struggling with the second step:
- uses: https://github.com/actions/setup-java/setup-java@v4
with:
java-version: '21'
distribution: 'temurin'
The error message I'm seeing in the workflow log is
🚀 Start image=data.forgejo.org/oci/node:20-bullseye
🐳 docker pull image=data.forgejo.org/oci/node:20-bullseye platform= username= forcePull=false
🐳 docker create image=data.forgejo.org/oci/node:20-bullseye platform= entrypoint=["tail" "-f" "/dev/null"] cmd=[] network="FORGEJO-ACTIONS-TASK-1000349_WORKFLOW_JOB-test-test-network"
🐳 docker run image=data.forgejo.org/oci/node:20-bullseye platform= entrypoint=["tail" "-f" "/dev/null"] cmd=[] network="FORGEJO-ACTIONS-TASK-1000349_WORKFLOW_JOB-test-test-network"
☁ git clone 'https://code.forgejo.org/actions/checkout' # ref=v4
☁ git clone 'https://github.com/actions/setup-java' # ref=v4
failed to read 'action.yml' from action 'https://github.com/actions/setup-java/setup-java@v4' with path 'setup-java' of step open /data/.cache/act/https---github.com-actions-setup-java-setup-java@v4/setup-java/action.yml: no such file or directory\nfailed to read 'action.yaml' from action 'https://github.com/actions/setup-java/setup-java@v4' with path 'setup-java' of step open /data/.cache/act/https---github.com-actions-setup-java-setup-java@v4/setup-java/action.yaml: no such file or directory\nfailed to read 'Dockerfile' from action 'https://github.com/actions/setup-java/setup-java@v4' with path 'setup-java' of step open /data/.cache/act/https---github.com-actions-setup-java-setup-java@v4/setup-java/Dockerfile: no such file or directory
or, splitting the error message by line breaks
failed to read 'action.yml' from action 'https://github.com/actions/setup-java/setup-java@v4' with path 'setup-java' of step open /data/.cache/act/https---github.com-actions-setup-java-setup-java@v4/setup-java/action.yml: no such file or directory
failed to read 'action.yaml' from action 'https://github.com/actions/setup-java/setup-java@v4' with path 'setup-java' of step open /data/.cache/act/https---github.com-actions-setup-java-setup-java@v4/setup-java/action.yaml: no such file or directory
failed to read 'Dockerfile' from action 'https://github.com/actions/setup-java/setup-java@v4' with path 'setup-java' of step open /data/.cache/act/https---github.com-actions-setup-java-setup-java@v4/setup-java/Dockerfile: no such file or directory
I believe the file in question is actually present at action.yml - so what else could be going wrong here?
### Comment
I am experimenting with Fogejo Actions workflows on my self-hosted runner. I'm trying to get a Java application build automated, and I'm struggling with the second step:
```
- uses: https://github.com/actions/setup-java/setup-java@v4
with:
java-version: '21'
distribution: 'temurin'
```
The error message I'm seeing in the workflow log is
```
🚀 Start image=data.forgejo.org/oci/node:20-bullseye
🐳 docker pull image=data.forgejo.org/oci/node:20-bullseye platform= username= forcePull=false
🐳 docker create image=data.forgejo.org/oci/node:20-bullseye platform= entrypoint=["tail" "-f" "/dev/null"] cmd=[] network="FORGEJO-ACTIONS-TASK-1000349_WORKFLOW_JOB-test-test-network"
🐳 docker run image=data.forgejo.org/oci/node:20-bullseye platform= entrypoint=["tail" "-f" "/dev/null"] cmd=[] network="FORGEJO-ACTIONS-TASK-1000349_WORKFLOW_JOB-test-test-network"
☁ git clone 'https://code.forgejo.org/actions/checkout' # ref=v4
☁ git clone 'https://github.com/actions/setup-java' # ref=v4
failed to read 'action.yml' from action 'https://github.com/actions/setup-java/setup-java@v4' with path 'setup-java' of step open /data/.cache/act/https---github.com-actions-setup-java-setup-java@v4/setup-java/action.yml: no such file or directory\nfailed to read 'action.yaml' from action 'https://github.com/actions/setup-java/setup-java@v4' with path 'setup-java' of step open /data/.cache/act/https---github.com-actions-setup-java-setup-java@v4/setup-java/action.yaml: no such file or directory\nfailed to read 'Dockerfile' from action 'https://github.com/actions/setup-java/setup-java@v4' with path 'setup-java' of step open /data/.cache/act/https---github.com-actions-setup-java-setup-java@v4/setup-java/Dockerfile: no such file or directory
```
or, splitting the error message by line breaks
```
failed to read 'action.yml' from action 'https://github.com/actions/setup-java/setup-java@v4' with path 'setup-java' of step open /data/.cache/act/https---github.com-actions-setup-java-setup-java@v4/setup-java/action.yml: no such file or directory
failed to read 'action.yaml' from action 'https://github.com/actions/setup-java/setup-java@v4' with path 'setup-java' of step open /data/.cache/act/https---github.com-actions-setup-java-setup-java@v4/setup-java/action.yaml: no such file or directory
failed to read 'Dockerfile' from action 'https://github.com/actions/setup-java/setup-java@v4' with path 'setup-java' of step open /data/.cache/act/https---github.com-actions-setup-java-setup-java@v4/setup-java/Dockerfile: no such file or directory
```
I believe the file in question is actually present at [action.yml](https://github.com/actions/setup-java/blob/main/action.yml) - so what else could be going wrong here?