Skip to content

Bump the testing group with 2 updates #149

Bump the testing group with 2 updates

Bump the testing group with 2 updates #149

Workflow file for this run

name: .NET Build
on:
push:
branches:
- 'develop'
pull_request:
branches:
- '*'
workflow_dispatch:
env:
DOTNET_VERSION: '8.0.x'
jobs:
test:
name: Test
runs-on: ubuntu-latest
steps:
# Setup
- name: Checkout Repo
uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: ${{ env.DOTNET_VERSION }}
# Test
- name: Unit Tests
run: |
dotnet build --no-incremental
dotnet test
build-linux:
name: Build Linux
runs-on: ubuntu-latest
steps:
# Setup
- name: Checkout repo
uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: ${{ env.DOTNET_VERSION }}
# Build
- name: Build
run: |
dotnet publish --configuration Release --runtime linux-x64 --property PublishDir=~/publish
# Upload
- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
name: BaldersGait-linux-x64
path: ~/publish
build-windows:
name: Build Windows
runs-on: windows-latest
steps:
# Setup
- name: Checkout repo
uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: ${{ env.DOTNET_VERSION }}
# Build
- name: Build
run: |
dotnet publish --configuration Release --runtime win-x64 --property PublishDir=publish
# Upload
- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
name: BaldersGait-win-x64
path: D:\a\BaldersGait\BaldersGait\BaldersGait\publish\