diff --git a/.github/workflows/buildingMaster.yml b/.github/workflows/buildingMaster.yml new file mode 100644 index 0000000000..508842ec7b --- /dev/null +++ b/.github/workflows/buildingMaster.yml @@ -0,0 +1,24 @@ +name: Building Master +on: + push: + +jobs: + setup: + runs-on: [self-hosted, linux] + steps: + - name: Checking out repository + uses: actions/checkout@v5 + + - name: Install dependencies for Nitrox + run: dotnet restore + + build: + needs: setup + runs-on: [self-hosted, linux] + strategy: + matrix: + configuration: [Debug, Release] + steps: + - name: Build + run: dotnet build Nitrox.sln -c ${{ matrix.configuration }} --no-restore + diff --git a/Directory.Build.targets b/Directory.Build.targets index cbe96f1110..a9231f6b74 100644 --- a/Directory.Build.targets +++ b/Directory.Build.targets @@ -45,9 +45,8 @@ - - $(GameDir)\ + /home/docker/Subnautica/ Subnautica_Data diff --git a/NitroxServer-Subnautica/NitroxServer-Subnautica.csproj b/NitroxServer-Subnautica/NitroxServer-Subnautica.csproj index bfbe65bfa0..d0723046e5 100644 --- a/NitroxServer-Subnautica/NitroxServer-Subnautica.csproj +++ b/NitroxServer-Subnautica/NitroxServer-Subnautica.csproj @@ -13,7 +13,7 @@ - +