cd.yaml: build for gnu not musl
All checks were successful
Build && Deploy / cargo build (push) Successful in 53s

This commit is contained in:
Akulij 2025-05-04 03:38:48 +03:00
parent 61bb4cf7e8
commit 2ae58bbf99

View File

@ -21,7 +21,6 @@ jobs:
with: with:
profile: minimal profile: minimal
toolchain: stable toolchain: stable
target: x86_64-unknown-linux-musl
- name: Save cached toolchain - name: Save cached toolchain
id: cache-toolchain-save id: cache-toolchain-save
uses: actions/cache/save@v4 uses: actions/cache/save@v4
@ -44,7 +43,7 @@ jobs:
~/.cargo/git/db/ ~/.cargo/git/db/
target target
key: linux-project-dependencies key: linux-project-dependencies
- run: cargo build --release --target x86_64-unknown-linux-musl - run: cargo build --release --target x86_64-unknown-linux-gnu
- name: Save cached cargo dependencies - name: Save cached cargo dependencies
id: cache-project-dependencies-restore id: cache-project-dependencies-restore
uses: actions/cache/save@v4 uses: actions/cache/save@v4
@ -61,5 +60,5 @@ jobs:
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v3
with: with:
name: botrunner name: botrunner
path: target/x86_64-unknown-linux-musl/release/gongbotrs path: target/x86_64-unknown-linux-gnu/release/gongbotrs