Skip to content

Use fetch-depth for versioning. #18

Use fetch-depth for versioning.

Use fetch-depth for versioning. #18

name: Smoke-Build
on:
push:
branches:
- test-pipeline-build
# pull_request:
jobs:
build:
strategy:
matrix:
os: [windows-latest, ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}
env:
GITHUB_TOKEN: ${{ github.token }}
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: '5'
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.0.x'
# - name: Handle versioning
# run: cp ./version.json ./nanoFirmwareFlasher.Tool/
- name: Build solution
run: dotnet build