Skip to content

Create build.yml

Create build.yml #1

Workflow file for this run

name: Build
on:
push:
branches:
- dev
pull_request:
branches:
- dev
jobs:
build:
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: '6.x'
- name: Restore
run: dotnet restore
- name: Build
run: dotnet build --configuration Release --no-restore
- name: Upload build
uses: actions/upload-artifact@v4
with:
name: DeadshotModAPI
path: '**/bin/Release/**/*.dll'