We are trying to use setup-ruby on a self hosted runner but we get this error:
The environment variable ImageOS must be set
I tried all kinds of things but I can't get it working, this is our current yml file for our actions.
name: testson: [ push ]jobs:
cleanup:
runs-on: self-hostedsteps:
- uses: rokroskar/workflow-run-cleanup-action@masterenv:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"rubocop:
runs-on: self-hostedsteps:
- uses: actions/checkout@v1
- name: Set up Ruby 3.0.2if: steps.changes.outputs.stekkerweb == 'true'uses: ruby/setup-ruby@v1with:
ruby-version: 3.0.2env:
ImageOS: ubuntu20I see a mention of this issue in the readme, but it does not tell me what to do. Can someone give me a pointer on how to fix this?
Thanks! ✨
We are trying to use
setup-rubyon a self hosted runner but we get this error:I tried all kinds of things but I can't get it working, this is our current yml file for our actions.
I see a mention of this issue in the readme, but it does not tell me what to do. Can someone give me a pointer on how to fix this?
Thanks! ✨