Can not find builtin command in GitHub actions

name: MyAction
on:
  workflow_dispatch
jobs:
  'myjob':
    runs_on: [self-hosted, linux]
    strategy:
      fail-fast: false
    steps:
    - uses: actions/checkout@v2
    - name: Set up Python Virt Env
      run: python -m venv venv
    - name: Install deps
      run: |
        source venv/bin/activate
        python -m pip install --upgrade pip
        cd mydir
        pip install -r requirements.txt
        pip install -e .
    - name: Do commands
      run: |
        source venv/bin/activate
        cd mydir
        rehash
        mybinary

Rehash is builtin command, but it can not be found. "command not found". mybinary is a file which lies in venv/bin, but it can not be found.

All these commands can be executed manually on particular node. I checked PATH and it contains venv/bin , that's why I tried to use rehash, but no success.



from Recent Questions - Stack Overflow https://ift.tt/3nmZsF8
https://ift.tt/eA8V8J

Comments

Popular posts from this blog

Spring Elasticsearch Operations

Network Error and Timeout on Authorize.net JS

Object oriented programming concepts (OOPs)