Skip to content

Commit 6d38ae7

Browse files
committed
github actions test
1 parent ba6d990 commit 6d38ae7

File tree

2 files changed

+24
-2
lines changed

2 files changed

+24
-2
lines changed
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Building Master
2+
on:
3+
push:
4+
5+
jobs:
6+
setup:
7+
runs-on: [self-hosted, linux]
8+
steps:
9+
- name: Checking out repository
10+
uses: actions/checkout@v5
11+
12+
- name: Install dependencies for Nitrox
13+
run: dotnet restore
14+
15+
build:
16+
needs: setup
17+
runs-on: [self-hosted, linux]
18+
strategy:
19+
matrix:
20+
configuration: [Debug, Release]
21+
steps:
22+
- name: Build
23+
run: dotnet build Nitrox.sln -c ${{ matrix.configuration }} --no-restore

Directory.Build.targets

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,8 @@
4545
<DiscoverGame GameName="Subnautica" IntermediateOutputPath="$(IntermediateOutputPath)">
4646
<Output TaskParameter="GamePath" PropertyName="GameDir" />
4747
</DiscoverGame>
48-
<Error Condition="'$(GameDir)' == ''" Text="Failed to find the game 'Subnautica' on your machine" />
4948
<PropertyGroup>
50-
<GameDir>$(GameDir)\</GameDir>
49+
<GameDir>/home/docker/Subnautica</GameDir>
5150
<GameDataFolder>Subnautica_Data</GameDataFolder>
5251
</PropertyGroup>
5352
<PropertyGroup Condition="$(_IsMacOS)">

0 commit comments

Comments
 (0)