Bump the avalonia group with 6 updates #156
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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\ |