浏览代码

[CI] Update ubuntu version (#10457)

tobil4sk 4 年之前
父节点
当前提交
b3d300fb45
共有 2 个文件被更改,包括 10 次插入10 次删除
  1. 5 5
      .github/workflows/main.yml
  2. 5 5
      extra/github-actions/workflows/main.yml

+ 5 - 5
.github/workflows/main.yml

@@ -7,7 +7,7 @@ on: [push, pull_request]
 jobs:
   cancel:
     name: "Cancel previous runs"
-    runs-on: ubuntu-18.04
+    runs-on: ubuntu-20.04
     timeout-minutes: 3
     steps:
       - uses: styfle/[email protected]
@@ -232,7 +232,7 @@ jobs:
       
 
   linux-build:
-    runs-on: ubuntu-18.04
+    runs-on: ubuntu-20.04
     env:
       PLATFORM: linux64
       OPAMYES: 1
@@ -640,7 +640,7 @@ jobs:
 
   linux-test:
     needs: linux-build
-    runs-on: ubuntu-18.04
+    runs-on: ubuntu-20.04
     env:
       PLATFORM: linux64
       TEST: ${{matrix.target}}
@@ -833,7 +833,7 @@ jobs:
   deploy:
     if: github.event_name != 'pull_request'
     needs: [linux-test, mac-test, windows-test, windows64-test]
-    runs-on: ubuntu-18.04
+    runs-on: ubuntu-20.04
     steps:
       # this is only needed for to get `COMMIT_DATE`...
       # maybe https://github.community/t/expose-commit-timestamp-in-the-github-context-data/16460/3
@@ -905,7 +905,7 @@ jobs:
   deploy_apidoc:
     if: github.event_name != 'pull_request' # TODO: also only when `GHP_REMOTE` is present
     needs: [linux-test, mac-test, windows-test, windows64-test]
-    runs-on: ubuntu-18.04
+    runs-on: ubuntu-20.04
     steps:
       - name: Download Haxe
         uses: actions/download-artifact@v2

+ 5 - 5
extra/github-actions/workflows/main.yml

@@ -6,7 +6,7 @@ on: [push, pull_request]
 jobs:
   cancel:
     name: "Cancel previous runs"
-    runs-on: ubuntu-18.04
+    runs-on: ubuntu-20.04
     timeout-minutes: 3
     steps:
       - uses: styfle/[email protected]
@@ -53,7 +53,7 @@ jobs:
       @import build-windows.yml
 
   linux-build:
-    runs-on: ubuntu-18.04
+    runs-on: ubuntu-20.04
     env:
       PLATFORM: linux64
       OPAMYES: 1
@@ -132,7 +132,7 @@ jobs:
 
   linux-test:
     needs: linux-build
-    runs-on: ubuntu-18.04
+    runs-on: ubuntu-20.04
     env:
       PLATFORM: linux64
       TEST: ${{matrix.target}}
@@ -193,7 +193,7 @@ jobs:
   deploy:
     if: github.event_name != 'pull_request'
     needs: [linux-test, mac-test, windows-test, windows64-test]
-    runs-on: ubuntu-18.04
+    runs-on: ubuntu-20.04
     steps:
       # this is only needed for to get `COMMIT_DATE`...
       # maybe https://github.community/t/expose-commit-timestamp-in-the-github-context-data/16460/3
@@ -265,7 +265,7 @@ jobs:
   deploy_apidoc:
     if: github.event_name != 'pull_request' # TODO: also only when `GHP_REMOTE` is present
     needs: [linux-test, mac-test, windows-test, windows64-test]
-    runs-on: ubuntu-18.04
+    runs-on: ubuntu-20.04
     steps:
       - name: Download Haxe
         uses: actions/download-artifact@v2