Skip to content

Version 0.4.3

Version 0.4.3 #143

Workflow file for this run

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