Skip to content

Publish single file #13

Publish single file

Publish single file #13

Workflow file for this run

# This workflow will build a .NET project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net
name: .NET
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
strategy:
matrix:
kind: ['linux', 'windows', 'macOS', 'linux-arm', 'windows-arm', 'macOS-arm']
include:
- kind: linux
os: ubuntu-latest
target: linux-x64
- kind: windows
os: windows-latest
target: win-x64
- kind: macOS
os: macos-latest
target: osx-x64
- kind: linux-arm
os: ubuntu-latest
target: linux-arm64
- kind: windows-arm
os: windows-latest
target: win-arm64
- kind: macOS-arm
os: macos-latest
target: osx-arm64
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build --no-restore