mirror of
https://github.com/Facepunch/Facepunch.Steamworks.git
synced 2024-12-26 06:35:49 +03:00
43 lines
1.4 KiB
YAML
43 lines
1.4 KiB
YAML
name: Build All
|
|
|
|
on: [push]
|
|
|
|
jobs:
|
|
build:
|
|
|
|
runs-on: windows-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v4.2.2
|
|
- name: Setup dotnet 6.0.x
|
|
uses: actions/setup-dotnet@v4.1.0
|
|
with:
|
|
dotnet-version: '6.0.x'
|
|
include-prerelease: true
|
|
|
|
- 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: dotnet build Facepunch.Steamworks\Facepunch.Steamworks.Win64.csproj
|
|
- name: Build Win32
|
|
run: dotnet build Facepunch.Steamworks\Facepunch.Steamworks.Win32.csproj
|
|
- name: Build Posix
|
|
run: dotnet build Facepunch.Steamworks\Facepunch.Steamworks.Posix.csproj
|
|
|
|
- name: Build Win64 Release
|
|
run: dotnet build Facepunch.Steamworks\Facepunch.Steamworks.Win64.csproj --configuration Release
|
|
- name: Build Win32 Release
|
|
run: dotnet build Facepunch.Steamworks\Facepunch.Steamworks.Win32.csproj --configuration Release
|
|
- name: Build Posix Release
|
|
run: dotnet build Facepunch.Steamworks\Facepunch.Steamworks.Posix.csproj --configuration Release
|
|
|
|
- uses: actions/upload-artifact@v4.4.3
|
|
with:
|
|
name: Compiled Files
|
|
path: Facepunch.Steamworks/bin
|