Skip to content

Commit 73e1acb

Browse files
committed
ci(publish): update workflow
Signed-off-by: Xin Liu <[email protected]>
1 parent 986ac13 commit 73e1acb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
build: [linux-x86_64, macos-x86_64, macos-arm64]
2222
include:
2323
- build: linux-x86_64
24-
os: ubuntu-latest
24+
os: ubuntu-20.04
2525
rust: nightly
2626
target: x86_64-unknown-linux-gnu
2727
archive-name: server-assistant-x86_64-unknown-linux-gnu.tar.gz
@@ -61,15 +61,15 @@ jobs:
6161
rustup target add ${{ matrix.target }}
6262
6363
- name: Build binary for Linux
64-
if: matrix.os == 'ubuntu-latest'
64+
if: matrix.os == 'ubuntu-20.04'
6565
run: |
6666
cargo build --verbose --release --target ${{ matrix.target }} --features vendored
6767
env:
6868
OPENSSL_STATIC: 1
6969
RUST_BACKTRACE: 1
7070

7171
- name: Build binary for other platforms
72-
if: matrix.os != 'ubuntu-latest'
72+
if: matrix.os != 'ubuntu-20.04'
7373
run: cargo build --verbose --release --target ${{ matrix.target }}
7474
env:
7575
RUST_BACKTRACE: 1

0 commit comments

Comments
 (0)