Facepunch.Steamworks/.github/workflows/dotnetcore.yml
2021-09-09 19:38:52 -05:00

40 lines
1.1 KiB
YAML

name: Build All
on: [push]
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- name: Setup dotnet 6.x
uses: actions/setup-dotnet@v1
with:
dotnet-version: '6.x'
- name: Display dotnet version
run: dotnet --version
- name: setup-msbuild
uses: microsoft/setup-msbuild@v1
- name: Restore Win64
run: dotnet restore Facepunch.Steamworks\Facepunch.Steamworks.Win64.csproj
- name: Restore Win32
run: dotnet restore Facepunch.Steamworks\Facepunch.Steamworks.Win32.csproj
- name: Restore Posix
run: dotnet restore Facepunch.Steamworks\Facepunch.Steamworks.Posix.csproj
- name: Build Win64
run: msbuild Facepunch.Steamworks\Facepunch.Steamworks.Win64.csproj
- name: Build Win32
run: msbuild Facepunch.Steamworks\Facepunch.Steamworks.Win32.csproj
- name: Build Posix
run: msbuild Facepunch.Steamworks\Facepunch.Steamworks.Posix.csproj
- uses: actions/upload-artifact@v1
with:
name: Compiled Files
path: Facepunch.Steamworks/bin