Merge pull request #2467 from dalf/fix-ci

[fix] github actions: use ubuntu-20.04 instead of ubuntu-latest
This commit is contained in:
Alexandre Flament 2021-01-14 17:14:59 +01:00 committed by GitHub
commit 824fe40a28
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 5 deletions

View File

@ -5,10 +5,10 @@ on: [push, pull_request]
jobs: jobs:
python: python:
name: Python ${{ matrix.python-version }} name: Python ${{ matrix.python-version }}
runs-on: ubuntu-latest runs-on: ubuntu-20.04
strategy: strategy:
matrix: matrix:
os: [ubuntu-latest] os: [ubuntu-20.04]
python-version: [3.6, 3.7, 3.8, 3.9] python-version: [3.6, 3.7, 3.8, 3.9]
steps: steps:
- name: Checkout - name: Checkout
@ -46,7 +46,7 @@ jobs:
themes: themes:
name: Themes name: Themes
runs-on: ubuntu-latest runs-on: ubuntu-20.04
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v2 uses: actions/checkout@v2
@ -59,7 +59,7 @@ jobs:
documentation: documentation:
name: Documentation name: Documentation
runs-on: ubuntu-latest runs-on: ubuntu-20.04
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v2 uses: actions/checkout@v2
@ -92,7 +92,7 @@ jobs:
- documentation - documentation
env: env:
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }} DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
runs-on: ubuntu-latest runs-on: ubuntu-20.04
steps: steps:
- name: Checkout - name: Checkout
if: env.DOCKERHUB_USERNAME != null if: env.DOCKERHUB_USERNAME != null