Bump serde from 1.0.190 to 1.0.192 #2
Workflow file for this run
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
name: 'Upload artifacts' | ||
on: | ||
workflow_dispatch: | ||
permissions: | ||
contents: write | ||
jobs: | ||
upload_linux_artifact: | ||
runs-on: "ubuntu-latest" | ||
strategy: | ||
matrix: | ||
rust: [ nightly ] | ||
steps: | ||
- uses: hecrj/setup-rust-action@v1 | ||
with: | ||
rust-version: nightly | ||
- uses: actions/checkout@master | ||
- name: build libsensors | ||
run: | | ||
make libsensors | ||
- name: build release | ||
run: | | ||
cargo build --release | ||
- name: Upload Linux artifact | ||
uses: actions/upload-artifact@v3.1.2 | ||
with: | ||
name: fan-control | ||
path: target/release/fan-control | ||
# TODO: experiment cross compile: linux -> win | ||
upload_linux_artifact: | ||
runs-on: "windows-latest" | ||
strategy: | ||
matrix: | ||
rust: [ nightly ] | ||
steps: | ||
- uses: hecrj/setup-rust-action@v1 | ||
with: | ||
rust-version: nightly | ||
- uses: actions/checkout@master | ||
- name: build lhm | ||
run: | | ||
cd LibreHardwareMonitorWrapper | ||
dotnet build | ||
- name: build release | ||
run: | | ||
cargo build --release | ||
- name: Upload Linux artifact | ||
uses: actions/upload-artifact@v3.1.2 | ||
with: | ||
name: fan-control | ||
path: target/release/fan-control |