Skip to content

Commit 4a44c27

Browse files
committed
test
1 parent 664c357 commit 4a44c27

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ jobs:
215215
overwrite: true
216216
build-linux:
217217
if: ${{ github.event.inputs.platform == 'all' || github.event.inputs.platform == 'linux' }}
218-
runs-on: ubuntu-latest
218+
runs-on: ubuntu-22.04
219219
needs: [get-release]
220220
steps:
221221
- uses: actions/checkout@v3

.github/workflows/test.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ jobs:
6363
runs-on: ${{ matrix.os }}
6464
strategy:
6565
matrix:
66-
os: [ windows-latest, macos-latest, ubuntu-latest ]
66+
os: [ windows-latest, macos-latest, ubuntu-22.04 ]
6767
needs: [ test ]
6868
steps:
6969
- uses: actions/checkout@v3
@@ -73,17 +73,17 @@ jobs:
7373
- uses: subosito/flutter-action@v2
7474
with:
7575
flutter-version: ${{ env.FLUTTER_VERSION }}
76-
- if: runner.os == 'windows-latest'
76+
- if: runner.os == 'Windows'
7777
run: |
7878
go build -tags nosqlite -ldflags="-w -s" -buildmode=c-shared -o ui/flutter/windows/libgopeed.dll github.com/GopeedLab/gopeed/bind/desktop
7979
cd ui/flutter
8080
flutter build windows
81-
- if: runner.os == 'macos-latest'
81+
- if: runner.os == 'macOS'
8282
run: |
8383
go build -tags nosqlite -ldflags="-w -s" -buildmode=c-shared -o ui/flutter/macos/Frameworks/libgopeed.dylib github.com/GopeedLab/gopeed/bind/desktop
8484
cd ui/flutter
8585
flutter build macos
86-
- if: runner.os == 'ubuntu-latest'
86+
- if: runner.os == 'Linux'
8787
run: |
8888
sudo apt-get update -y
8989
sudo apt-get install -y ninja-build libgtk-3-dev libayatana-appindicator3-dev

0 commit comments

Comments
 (0)