The crazy thing is when I start the act runner with “ubuntu” as label and change the “runs-on: windows” in the workflow yml also to “runs-on: ubuntu” the checkout works fine. But then I run into issues in later actions steps.
I don’t know how to debug any further. Any ideas?
My workflow yml:
name: compile
run-name: ${{ gitea.actor }} is testing out Gitea Actions
on: [push]
jobs:
Explore-Gitea-Actions:
runs-on: windows
steps:
- name: Check out repository code
uses: actions/checkout@v3
Hi, for (most) Actions node is required to be installed. In the default container image that is used node is installed, but for host-mode (which you are using for running on windows) you’ll need to install node on your host.
My workflow file is also the same as found in gitea’s documentation:
name: Gitea Actions Demo
run-name: ${{ gitea.actor }} is testing out Gitea Actions
on: [push]
jobs:
Explore-Gitea-Actions:
runs-on: ubuntu-latest
steps:
- run: echo " The job was automatically triggered by a ${{ gitea.event_name }} event."
- run: echo " This job is now running on a ${{ runner.os }} server hosted by Gitea!"
- run: echo " The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}."
- run: env
- name: Check out repository code
uses: actions/checkout@v3
Despite of that, I get the same error for step actions/checkout@v3:
OCI runtime exec failed: exec failed: unable to start container process: exec: "node": executable file not found in $PATH: unknown