pin ubuntu version and bump checkout action version
@@ -11,7 +11,7 @@ on:
jobs:
start-runner:
name: Start self-hosted EC2 runner
- runs-on: ubuntu-latest
+ runs-on: ubuntu-20.04
outputs:
label: ${{ steps.start-ec2-runner.outputs.label }}
ec2-instance-id: ${{ steps.start-ec2-runner.outputs.ec2-instance-id }}
@@ -51,7 +51,7 @@ jobs:
run:
shell: bash -l {0}
steps:
- - uses: actions/checkout@v2
+ - uses: actions/checkout@v3
- uses: conda-incubator/setup-miniconda@v2
with:
installer-url: https://github.com/conda-forge/miniforge/releases/latest/download/Mambaforge-Linux-x86_64.sh
@@ -118,7 +118,7 @@ jobs:
needs:
- start-runner # required to get output from the start-runner job
- do-the-job # required to wait when the main job is done
- runs-on: ubuntu-latest
+ runs-on: ubuntu-20.04
if: ${{ always() }} # required to stop the runner even if the error happened in the previous jobs
steps:
- name: Configure AWS credentials
