Skip to content

Commit

Permalink
Merge pull request #52 from Lordfirespeed/restructure
Browse files Browse the repository at this point in the history
Restructure
  • Loading branch information
steven4547466 authored Dec 29, 2023
2 parents a3ec109 + bb21b39 commit 2f729c4
Show file tree
Hide file tree
Showing 43 changed files with 998 additions and 1,028 deletions.

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

0 comments on commit 2f729c4

Please sign in to comment.