Skip to content

Commit c7a97bd

Browse files
authored
Build native on Ubuntu 20.04 instead of latest 22.04 (re. #1072).
This MAY (?) help re. libc.so.6 (GLIBC_2.34) for #1072.
1 parent d8216e8 commit c7a97bd

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

.github/workflows/ci.yml

+4-1
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,10 @@ jobs:
8686
strategy:
8787
fail-fast: false
8888
matrix:
89-
os: [ubuntu-latest, macos-latest, windows-latest]
89+
# Use "oldest" available ubuntu-* instead of -latest,
90+
# see https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners/about-github-hosted-runners#standard-github-hosted-runners-for-public-repositories;
91+
# due to https://github.com/google/google-java-format/issues/1072.
92+
os: [ubuntu-20.04, macos-latest, windows-latest]
9093
runs-on: ${{ matrix.os }}
9194
continue-on-error: true
9295
steps:

.github/workflows/release.yml

+4-1
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,10 @@ jobs:
8686
needs: build-maven-jars
8787
strategy:
8888
matrix:
89-
os: [ubuntu-latest, macos-latest, windows-latest]
89+
# Use "oldest" available ubuntu-* instead of -latest,
90+
# see https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners/about-github-hosted-runners#standard-github-hosted-runners-for-public-repositories;
91+
# due to https://github.com/google/google-java-format/issues/1072.
92+
os: [ubuntu-20.04, macos-latest, windows-latest]
9093
env:
9194
SUFFIX: ${{fromJson('{"ubuntu-latest":"linux-x86-64", "macos-latest":"darwin-arm64", "windows-latest":"windows-x86-64"}')[matrix.os]}}
9295
EXTENSION: ${{ matrix.os == 'windows-latest' && '.exe' || '' }}

0 commit comments

Comments
 (0)