generated from actions/javascript-action
    
        
        - 
          
 - 
                Notifications
    
You must be signed in to change notification settings  - Fork 345
 
Closed
Description
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: tests
on: [ push ]
jobs:
  cleanup:
    runs-on: self-hosted
    steps:
      - uses: rokroskar/workflow-run-cleanup-action@master
        env:
          GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
  rubocop:
    runs-on: self-hosted
    steps:
      - uses: actions/checkout@v1
      - name: Set up Ruby 3.0.2
        if: steps.changes.outputs.stekkerweb == 'true'
        uses: ruby/setup-ruby@v1
        with:
          ruby-version: 3.0.2
        env:
          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! ✨
eirvandelden and bswinnerton
Metadata
Metadata
Assignees
Labels
No labels