Skip to content

Commit

Permalink
ci(publish): update workflow
Browse files Browse the repository at this point in the history
Signed-off-by: Xin Liu <sam@secondstate.io>
  • Loading branch information
apepkuss committed Jan 25, 2025
1 parent 986ac13 commit 73e1acb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
build: [linux-x86_64, macos-x86_64, macos-arm64]
include:
- build: linux-x86_64
os: ubuntu-latest
os: ubuntu-20.04
rust: nightly
target: x86_64-unknown-linux-gnu
archive-name: server-assistant-x86_64-unknown-linux-gnu.tar.gz
Expand Down Expand Up @@ -61,15 +61,15 @@ jobs:
rustup target add ${{ matrix.target }}
- name: Build binary for Linux
if: matrix.os == 'ubuntu-latest'
if: matrix.os == 'ubuntu-20.04'
run: |
cargo build --verbose --release --target ${{ matrix.target }} --features vendored
env:
OPENSSL_STATIC: 1
RUST_BACKTRACE: 1

- name: Build binary for other platforms
if: matrix.os != 'ubuntu-latest'
if: matrix.os != 'ubuntu-20.04'
run: cargo build --verbose --release --target ${{ matrix.target }}
env:
RUST_BACKTRACE: 1
Expand Down

0 comments on commit 73e1acb

Please sign in to comment.