Chore: Change Ubuntu version to 20.04 on all GitHub Actions (#23200)

Co-authored-by: Diego Sampaio <chinello@gmail.com>
pull/23205/head
Kevin Aleman 4 years ago committed by GitHub
parent a993f1866a
commit 651167594c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 14
      .github/workflows/build_and_test.yml

@ -16,7 +16,7 @@ env:
jobs:
build:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
steps:
@ -186,7 +186,7 @@ jobs:
path: /tmp/build
test:
runs-on: ubuntu-16.04
runs-on: ubuntu-20.04
needs: build
strategy:
@ -260,7 +260,7 @@ jobs:
for i in $(seq 1 5); do (docker exec mongo mongo rocketchat --eval 'db.dropDatabase()') && npm run testci && s=0 && break || s=$? && sleep 1; done; (exit $s)
# notification:
# runs-on: ubuntu-latest
# runs-on: ubuntu-20.04
# needs: test
# steps:
@ -274,7 +274,7 @@ jobs:
# token: ${{ secrets.GITHUB_TOKEN }}
build-image-pr:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
if: github.event.pull_request.head.repo.full_name == github.repository
strategy:
@ -401,7 +401,7 @@ jobs:
docker push $IMAGE_NAME
deploy:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
if: github.event_name == 'release' || github.ref == 'refs/heads/develop'
needs: test
@ -479,7 +479,7 @@ jobs:
fi
image-build:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
needs: deploy
strategy:
@ -556,7 +556,7 @@ jobs:
docker push ${IMAGE}:develop
services-image-build:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
needs: deploy
strategy:

Loading…
Cancel
Save