Im finding my way with GitHub actions. I have played with some examples using the Github hosted runners and all of the test workflows Ive tried complete ok. However when I go to try running them on a self hosted runner they do not complete.
For example I run this
on: push: branches: [master] pull_request: branches: [master] # A workflow run is made up of one or more jobs that can run sequentially or in parallel jobs: # This workflow contains a single job called "build" build: # The type of runner that the job will run on runs-on: macos-latest # Steps represent a sequence of tasks that will be executed as part of the job steps: - uses: actions/checkout@v2 - name: Set up Python uses: actions/setup-python@v1 with: python-version: '3.8' - name: Install dependencies run: python -m pip install --upgrade pip setuptools wheel
And it works fine
if I change my runner to my self hosted
[self-hosted, macOS, x64]
And then run the workflow again I get the following error, listing no available versions:
Check failure on line 1 in .github @github-actions github-actions / build .github#L1 Version 3.8 with arch x64 not found Available versions:
The only thing I can get to work on a self hosted runner is
As soon as I add any steps that install anything it fails. The runner is running under admin and I have also tried this on a Windows runner. That fails also
Ive also tried this on the self hosted runner.
steps: - uses: actions/checkout@v2 - uses: actions/setup-python@v2 with: python-version: '3.x' # Version range or exact version of a Python version to use, using SemVer's version range syntax architecture: 'x64
This fails with
The process '/bin/bash' failed with exit code 1.
Again it works fine on the github hosted runners
I must be missing something! My runners are setup to use external actions.