Fix CI build. #46
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
push: | |
branches: [ "master" ] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install dependencies | |
run: sudo apt install -y pkg-config libssl-dev | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Compile (musl) | |
id: compile | |
uses: rust-build/[email protected] | |
with: | |
RUSTTARGET: x86_64-unknown-linux-musl | |
UPLOAD_MODE: none | |
STATIC_LINKING: false | |
- name: Upload artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: Binary | |
path: | | |
${{ steps.compile.outputs.BUILT_ARCHIVE }} | |
${{ steps.compile.outputs.BUILT_CHECKSUM }} |