Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restructure #52

Merged
merged 25 commits into from
Dec 29, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
a022941
move csproj file to LC-API subdir
Lordfirespeed Dec 27, 2023
0a58bb8
move all source code into LC-API subdir
Lordfirespeed Dec 27, 2023
07f1486
update sln file to reflect new csproj file location
Lordfirespeed Dec 27, 2023
7778742
use $(SolutionDir)/NetcodeWeaver as Netcode weaver default path
Lordfirespeed Dec 27, 2023
ba05d67
update relative path to build LC_API assembly
Lordfirespeed Dec 27, 2023
210e678
explain the minver log-line
Lordfirespeed Dec 27, 2023
95d7a9b
remove testing log-line
Lordfirespeed Dec 27, 2023
ea7b58f
fix the rename task to be relative to soln dir
Lordfirespeed Dec 27, 2023
87fd51c
use Dehumidifier GameLibs for CI
Lordfirespeed Dec 27, 2023
32e0214
target netstandard2.0
Lordfirespeed Dec 27, 2023
1ae6a69
install MinVer using dotnet CLI
Lordfirespeed Dec 27, 2023
c2a3f49
update path to reference assemblies
Lordfirespeed Dec 27, 2023
9b4660e
solution dir has `/` at the end
Lordfirespeed Dec 27, 2023
67c37b7
remove setup-netcode-weaver action
Lordfirespeed Dec 28, 2023
14acb24
remove default value for netcode patcher dir in CI
Lordfirespeed Dec 28, 2023
d409d3c
we use the more complicated netcode weaver setup
Lordfirespeed Dec 28, 2023
1f54089
target netstandard2.1
Lordfirespeed Dec 28, 2023
a25b017
remove unnecessary step
Lordfirespeed Dec 28, 2023
51c042a
lock setup-netcode-weaver to a3e04b9
Lordfirespeed Dec 28, 2023
ad3d2ed
use full commit SHA
Lordfirespeed Dec 28, 2023
14a9c25
don't reference netstandard.dll
Lordfirespeed Dec 28, 2023
77e88c7
pin back to main
Lordfirespeed Dec 28, 2023
6710dcb
use setup-netcode-weaver v0
Lordfirespeed Dec 28, 2023
560407b
update publish workflow to use Lordfirespeed/setup-netcode-weaver action
Lordfirespeed Dec 28, 2023
bb21b39
Disable CopyToTestProfile target by default
Lordfirespeed Dec 29, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

This file was deleted.

29 changes: 0 additions & 29 deletions .github/actions/setup-netcode-weaver/action.yml

This file was deleted.

7 changes: 5 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,17 +28,20 @@ jobs:
dotnet restore

- name: Setup NetcodeWeaver
uses: ./.github/actions/setup-netcode-weaver
id: setup-netcode-weaver
uses: Lordfirespeed/setup-netcode-weaver@v0
with:
netcode-weaver-version: 2.4.0
deps-packages: '[{"id": "UnityEngine.Modules", "version": "2022.3.9"}, {"id": "LethalCompany.GameLibs.Steam", "version": "45.0.2-alpha.1"}]'
target-framework: "netstandard2.1"

- name: Install Thunderstore CLI
run: |
dotnet tool install -g tcli

- name: Build solution
run: |
dotnet build
dotnet build -p:NETCODE_PATCHER_DIR="${{ steps.setup-netcode-weaver.outputs.netcode-weaver-directory }}"

- name: Upload Artifacts
uses: actions/upload-artifact@v4
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,17 +26,20 @@ jobs:
dotnet restore

- name: Setup NetcodeWeaver
uses: ./.github/actions/setup-netcode-weaver
id: setup-netcode-weaver
uses: Lordfirespeed/setup-netcode-weaver@v0
with:
netcode-weaver-version: 2.4.0
deps-packages: '[{"id": "UnityEngine.Modules", "version": "2022.3.9"}, {"id": "LethalCompany.GameLibs.Steam", "version": "45.0.2-alpha.1"}]'
target-framework: "netstandard2.1"

- name: Install Thunderstore CLI
run: |
dotnet tool install -g tcli

- name: Build and pack solution
run: |
dotnet pack
dotnet pack -p:NETCODE_PATCHER_DIR="${{ steps.setup-netcode-weaver.outputs.netcode-weaver-directory }}"

- name: Upload Thunderstore artifact
uses: actions/upload-artifact@v4
Expand Down
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,11 @@ LC_API.dll

## Projects
!LC-API.sln
!LC-API.csproj

### LC-API
!LC-API/
LC-API/[Bb]in/
LC-API/[Oo]bj/

### Source Modules
!BundleAPI
Expand Down
2 changes: 1 addition & 1 deletion LC-API.sln
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.6.33829.357
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "LC-API", "LC-API.csproj", "{D1BF6DDB-3AEE-4EF0-B6C8-4FBED65C75B9}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "LC-API", "LC-API/LC-API.csproj", "{D1BF6DDB-3AEE-4EF0-B6C8-4FBED65C75B9}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Expand Down
Loading
Loading