Skip to content

Commit 129695b

Browse files
Downgrade ubuntu runner
1 parent a0f2df0 commit 129695b

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/pr.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
test:
88
strategy:
99
matrix:
10-
os: [ubuntu-latest, macos-latest, windows-latest]
10+
os: [ubuntu-20.04, macos-latest, windows-latest]
1111
runs-on: ${{ matrix.os }}
1212
steps:
1313
- name: Checkout
@@ -19,7 +19,7 @@ jobs:
1919
with:
2020
swift-version: "5.9"
2121
- name: Run Linux Build
22-
if: matrix.os == 'ubuntu-latest'
22+
if: matrix.os == 'ubuntu-20.04'
2323
run: |
2424
swift build
2525
mv ./.build/debug/SwiftAstGen SwiftAstGen-linux

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
build:
1515
strategy:
1616
matrix:
17-
os: [ubuntu-latest, macos-latest, windows-latest]
17+
os: [ubuntu-20.04, macos-latest, windows-latest]
1818
runs-on: ${{ matrix.os }}
1919
steps:
2020
- name: Checkout
@@ -26,7 +26,7 @@ jobs:
2626
with:
2727
swift-version: "5.9"
2828
- name: Run Linux Build
29-
if: matrix.os == 'ubuntu-latest'
29+
if: matrix.os == 'ubuntu-20.04'
3030
run: |
3131
swift build -c release --arch arm64 --arch x86_64 --static-swift-stdlib
3232
mv ./.build/release/SwiftAstGen SwiftAstGen-linux

0 commit comments

Comments
 (0)