Fix: Use rustup to install latest Rust for edition2024 support in Alpine build
This commit is contained in:
9
.github/workflows/ci.yml
vendored
9
.github/workflows/ci.yml
vendored
@ -141,9 +141,16 @@ jobs:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: Install Rust toolchain (rustup for edition2024 support)
|
||||
run: |
|
||||
apk add --no-cache curl
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain stable
|
||||
source $HOME/.cargo/env
|
||||
rustc --version
|
||||
cargo --version
|
||||
- name: Install build dependencies
|
||||
run: |
|
||||
apk add --no-cache rust cargo musl-dev openssl-dev git abuild
|
||||
apk add --no-cache musl-dev openssl-dev git abuild
|
||||
- name: Build APK package
|
||||
run: ./build-alpine.sh
|
||||
- name: Upload to releases (on tag)
|
||||
|
||||
Reference in New Issue
Block a user