Skip to content

Commit c03ffcf

Browse files
jiangxindscho
authored andcommitted
github-actions: run gcc-8 on ubuntu-20.04 image
GitHub starts to upgrade its runner image "ubuntu-latest" from version "ubuntu-20.04" to version "ubuntu-22.04". It will fail to find and install "gcc-8" package on the new runner image. Change the runner image of the `linux-gcc` job from "ubuntu-latest" to "ubuntu-20.04" in order to install "gcc-8" as a dependency. Reviewed-by: Johannes Schindelin <[email protected]> Helped-by: Ævar Arnfjörð Bjarmason <[email protected]> Signed-off-by: Jiang Xin <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 394a759 commit c03ffcf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ jobs:
282282
pool: ubuntu-latest
283283
- jobname: linux-gcc
284284
cc: gcc
285-
pool: ubuntu-latest
285+
pool: ubuntu-20.04
286286
- jobname: osx-clang
287287
cc: clang
288288
pool: macos-latest

0 commit comments

Comments
 (0)