Bump env_logger from 0.11.3 to 0.11.5 #146
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: Build | |
on: | |
push: | |
branches: ["main"] | |
paths: | |
- "Cargo.toml" | |
- "Cargo.lock" | |
- "src/**" | |
- "assets/**" | |
- "locale/**" | |
- ".github/workflows/build.yml" | |
pull_request: | |
branches: ["main"] | |
paths: | |
- "Cargo.toml" | |
- "Cargo.lock" | |
- "src/**" | |
- "assets/**" | |
- "locale/**" | |
- ".github/workflows/build.yml" | |
env: | |
CARGO_TERM_COLOR: always | |
VERSION: 0.0.1 | |
jobs: | |
build: | |
strategy: | |
matrix: | |
os: [ubuntu-latest, windows-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions-rs/toolchain@v1 | |
with: | |
profile: minimal | |
toolchain: stable | |
- uses: Swatinem/rust-cache@v2 | |
- name: Build | |
shell: bash | |
run: cargo build --release | |
- name: Upload artifact (windows) | |
uses: actions/upload-artifact@v4 | |
if: startsWith(matrix.os, 'windows') | |
with: | |
name: artifact-windows | |
path: ./target/release/dfint-installer.exe | |
- name: Upload artifact (linux) | |
uses: actions/upload-artifact@v4 | |
if: startsWith(matrix.os, 'ubuntu') | |
with: | |
name: artifact-linux | |
path: ./target/release/dfint-installer |