Upload Artifacts #5
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: | |
workflow_call: | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
linux: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- run: rustup update | |
- uses: taiki-e/install-action@just | |
- uses: Swatinem/rust-cache@v2 | |
- run: | | |
cargo install --git https://github.com/wiiznokes/cargo-packager.git --branch resource-resolver-deb-fix cargo-packager | |
- name: Build libsensors | |
run: just libsensors | |
- name: Package deb | |
run: just deb | |
- run: echo "DEB_NAME=$(basename ./packages/fan-control*.deb)" >> $GITHUB_ENV | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: ${{ env.DEB_NAME }} | |
path: | | |
./packages/${{ env.DEB_NAME }} | |
windows: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- run: rustup update | |
- uses: taiki-e/install-action@just | |
- uses: Swatinem/rust-cache@v2 | |
- run: | | |
cargo install --git https://github.com/wiiznokes/cargo-packager.git --branch resource-resolver cargo-packager | |
- name: Build lhm | |
run: just lhm | |
- name: Package nsis | |
run: just nsis | |
- run: echo "NSIS_NAME=$(basename ./packages/fan-control*-setup.exe)" >> $GITHUB_ENV | |
shell: bash | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: ${{ env.NSIS_NAME }} | |
path: | | |
./packages/${{ env.NSIS_NAME }} |