Skip to content

Merge pull request #37 from Aynshe/Aynshe-patch-1 #126

Merge pull request #37 from Aynshe/Aynshe-patch-1

Merge pull request #37 from Aynshe/Aynshe-patch-1 #126

name: Build BatRun
on:
push:
branches:
- main
- dev*
- feature/*
- hotfix/*
pull_request:
branches:
- main
- dev*
- feature/*
- hotfix/*
jobs:
build:
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.0.x'
- name: Build BatRun project
run: dotnet build BatRun.csproj --configuration Release
# Étape optionnelle pour les tests
# - name: Run tests
# run: dotnet test Path\To\TestProject.csproj --configuration Release
- name: Upload build artifact
uses: actions/upload-artifact@v4
with:
# Inclure le nom de la branche dans l’artifact pour les différencier
name: BatRun-Build-${{ github.ref_name }}
path: bin/Release/**