Skip to content

[2.2.0] Physics fixes, new prefabs, and many bug fixes #150

[2.2.0] Physics fixes, new prefabs, and many bug fixes

[2.2.0] Physics fixes, new prefabs, and many bug fixes #150

Workflow file for this run

name: ValheimRAFT Build
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main", "develop" ]
workflow_dispatch:
inputs:
logLevel:
description: 'Log level'
required: true
default: 'warning'
type: choice
options:
- info
- warning
- debug
tags:
description: 'Test scenario tags'
required: false
type: boolean
environment:
description: 'Environment to run tests against'
type: environment
required: true
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
with:
submodules: true
token: ${{ secrets.REPO_TOKEN }}
- uses: nuget/setup-nuget@v1
with:
nuget-version: '5.x'
- run: nuget restore ValheimMods.sln
- name: Setup MSBuild
uses: microsoft/setup-msbuild@v1
- name: Navigate to Workspace
run: cd $GITHUB_WORKSPACE
- name: Create Build Directory
run: mkdir _build
- name: Build Solution
run: |
msbuild.exe ValheimMods.sln /nologo /nr:false /p:DeployOnBuild=true /p:DeployDefaultTarget=WebPublish /p:WebPublishMethod=FileSystem /p:DeleteExistingFiles=True /p:platform="Any CPU" /p:configuration="Release" /p:PublishUrl="../_build"