Skip to content

Commit 07b6fc3

Browse files
committed
Set ubuntu runner version to 20.04
This is a quick way to have the binary linked against libc6 2.31: otherwise, the binary won't run on systems using this version
1 parent 4316194 commit 07b6fc3

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/pull_request_check.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
strategy:
1111
fail-fast: true
1212
matrix:
13-
os: [windows-latest, ubuntu-latest]
13+
os: [windows-latest, ubuntu-20.04]
1414
steps:
1515
- name: Checkout repository
1616
uses: actions/checkout@v3
@@ -45,7 +45,7 @@ jobs:
4545
disk-root: "C:"
4646

4747
- name: Set Swap Space (Linux)
48-
if: matrix.os == 'ubuntu-latest'
48+
if: matrix.os == 'ubuntu-20.04'
4949
uses: pierotofy/set-swap-space@master
5050
with:
5151
swap-size-gb: 12
@@ -62,7 +62,7 @@ jobs:
6262

6363
- name: Upload executable jar
6464
# We only need one OS job to upload the jars
65-
if: matrix.os == 'ubuntu-latest'
65+
if: matrix.os == 'ubuntu-20.04'
6666
uses: actions/upload-artifact@v2
6767
with:
6868
name: bamm-cli-jar
@@ -79,7 +79,7 @@ jobs:
7979
tools/bamm-cli/target/bamm.exe
8080
8181
- name: Upload binary (Linux/Mac)
82-
if: matrix.os == 'ubuntu-latest' || matrix.os == 'macos-latest'
82+
if: matrix.os == 'ubuntu-20.04' || matrix.os == 'macos-latest'
8383
uses: actions/upload-artifact@v2
8484
with:
8585
name: bamm-cli-binary-${{ matrix.os }}

0 commit comments

Comments
 (0)