-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #61 from Titlehhhh/McProtoNet-refactoring
McProtoNet-refactoring
- Loading branch information
Showing
1,380 changed files
with
8,937,266 additions
and
101,253 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,22 +2,22 @@ name: "Build" | |
|
||
on: | ||
push: | ||
branches: | ||
branches: | ||
- master | ||
- release/** | ||
paths-ignore: | ||
- '**/*.md' | ||
- '**/*.gitignore' | ||
- '**/*.gitattributes' | ||
- mhc.svg | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
jobs: | ||
Libs: | ||
name: Build and deploy NuGet | ||
runs-on: ubuntu-latest | ||
runs-on: ubuntu-latest | ||
env: | ||
FeedzApiKey: ${{ secrets.FEEDZ_TOKEN }} | ||
DOTNET_CLI_TELEMETRY_OPTOUT: 1 | ||
|
@@ -30,125 +30,125 @@ jobs: | |
TERM: xterm | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Setup .NET SDK | ||
uses: actions/setup-dotnet@v3 | ||
with: | ||
dotnet-version: 8.0.100 | ||
|
||
- uses: actions/cache@v3 | ||
with: | ||
path: ~/.nuget/packages | ||
key: ${{ runner.os }}-nuget-${{ hashFiles('**/*.csproj') }} | ||
restore-keys: | | ||
${{ runner.os }}-nuget- | ||
- name: set script permissions | ||
run: chmod +x ./build.sh | ||
|
||
- name: Run './build.cmd' | ||
if: github.ref == 'refs/heads/master' | ||
run: ./build.sh LibsPush | ||
env: | ||
- uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Setup .NET SDK | ||
uses: actions/setup-dotnet@v3 | ||
with: | ||
dotnet-version: 8.0.100 | ||
|
||
- uses: actions/cache@v3 | ||
with: | ||
path: ~/.nuget/packages | ||
key: ${{ runner.os }}-nuget-${{ hashFiles('**/*.csproj') }} | ||
restore-keys: | | ||
${{ runner.os }}-nuget- | ||
- name: set script permissions | ||
run: chmod +x ./build.sh | ||
|
||
- name: Run './build.cmd' | ||
if: github.ref == 'refs/heads/master' | ||
run: ./build.sh LibsPush | ||
env: | ||
NuGetApiKey: ${{ secrets.NUGET_API_KEY }} | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
build-desktop-app: | ||
|
||
name: "Build HolyClient.Desktop" | ||
runs-on: ubuntu-latest | ||
needs: [Libs] | ||
env: | ||
needs: [ Libs ] | ||
env: | ||
DOTNET_CLI_TELEMETRY_OPTOUT: 1 | ||
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1 | ||
DOTNET_NOLOGO: true | ||
DOTNET_GENERATE_ASPNET_CERTIFICATE: false | ||
DOTNET_ADD_GLOBAL_TOOLS_TO_PATH: false | ||
DOTNET_MULTILEVEL_LOOKUP: 0 | ||
DOTNET_SYSTEM_CONSOLE_ALLOW_ANSI_COLOR_REDIRECTION: true | ||
TERM: xterm | ||
TERM: xterm | ||
strategy: | ||
matrix: | ||
target: [win-x86, win-x64, linux-x64, linux-arm, linux-arm64, osx-x64, osx-arm64] | ||
target: [ win-x86, win-x64, linux-x64, linux-arm, linux-arm64, osx-x64, osx-arm64 ] | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
- name: Setup .NET SDK | ||
uses: actions/setup-dotnet@v3 | ||
with: | ||
dotnet-version: 8.0.100 | ||
- name: Restore NuGet | ||
uses: actions/cache@v3 | ||
with: | ||
path: ~/.nuget/packages | ||
key: ${{ runner.os }}-nuget-${{ hashFiles('**/*.csproj') }} | ||
restore-keys: | | ||
${{ runner.os }}-nuget- | ||
- name: set script permissions | ||
run: chmod +x ./build.sh | ||
|
||
- name: Run './build.cmd' | ||
run: ./build.sh PublishApp -Runtime ${{ matrix.target }} | ||
env: | ||
- uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
- name: Setup .NET SDK | ||
uses: actions/setup-dotnet@v3 | ||
with: | ||
dotnet-version: 8.0.100 | ||
|
||
- name: Restore NuGet | ||
uses: actions/cache@v3 | ||
with: | ||
path: ~/.nuget/packages | ||
key: ${{ runner.os }}-nuget-${{ hashFiles('**/*.csproj') }} | ||
restore-keys: | | ||
${{ runner.os }}-nuget- | ||
- name: set script permissions | ||
run: chmod +x ./build.sh | ||
|
||
- name: Run './build.cmd' | ||
run: ./build.sh PublishApp -Runtime ${{ matrix.target }} | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: Upload Artifact | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: HolyClient.Desktop-${{matrix.target}} | ||
path: .artifacts | ||
|
||
|
||
|
||
|
||
- name: Upload Artifact | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: HolyClient.Desktop-${{matrix.target}} | ||
path: .artifacts | ||
|
||
|
||
CreateRelease: | ||
name: "CreateRelease" | ||
needs: [build-desktop-app] | ||
needs: [ build-desktop-app ] | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
- name: Setup .NET SDK | ||
uses: actions/setup-dotnet@v4 | ||
with: | ||
dotnet-version: 8.0.100 | ||
|
||
- name: Restore NuGet | ||
uses: actions/cache@v3 | ||
with: | ||
path: ~/.nuget/packages | ||
key: ${{ runner.os }}-nuget-${{ hashFiles('**/*.csproj') }} | ||
restore-keys: | | ||
${{ runner.os }}-nuget- | ||
- name: Download All Artifacts | ||
uses: actions/[email protected] | ||
with: | ||
path: .artifacts | ||
pattern: HolyClient.Desktop-* | ||
merge-multiple: true | ||
|
||
- name: set script permissions | ||
run: chmod +x ./build.sh | ||
|
||
- name: Run './build.cmd' | ||
if: github.ref == 'refs/heads/master' | ||
run: ./build.sh CreateRelease | ||
env: | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
- name: Setup .NET SDK | ||
uses: actions/setup-dotnet@v4 | ||
with: | ||
dotnet-version: 8.0.100 | ||
|
||
- name: Restore NuGet | ||
uses: actions/cache@v3 | ||
with: | ||
path: ~/.nuget/packages | ||
key: ${{ runner.os }}-nuget-${{ hashFiles('**/*.csproj') }} | ||
restore-keys: | | ||
${{ runner.os }}-nuget- | ||
- name: Download All Artifacts | ||
uses: actions/[email protected] | ||
with: | ||
path: .artifacts | ||
pattern: HolyClient.Desktop-* | ||
merge-multiple: true | ||
|
||
|
||
- name: set script permissions | ||
run: chmod +x ./build.sh | ||
|
||
- name: Run './build.cmd' | ||
if: github.ref == 'refs/heads/master' | ||
run: ./build.sh CreateRelease | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
#dotnet.exe publish ~\Minecraft-Holy-Client\Minecraft-Holy-Client\src\Platforms\HolyClient.Desktop\HolyClient.Desktop.csproj --no-restore --no-build /property:DebugType=None /property:DebugSymbols=False /property:PublishProfile=FolderProfile /property:PublishDir=~\Minecraft-Holy-Client\Minecraft-Holy-Client\.artifacts |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,7 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<ItemGroup> | ||
<PackageReference Include="Nerdbank.GitVersioning" Condition="!Exists('packages.config')"> | ||
<PrivateAssets>all</PrivateAssets> | ||
<Version>3.6.133</Version> | ||
</PackageReference> | ||
|
||
</ItemGroup> | ||
<ItemGroup> | ||
<AvaloniaVersion>11.0.11</AvaloniaVersion> | ||
<FluentAvaloniaVersion>2.0.5</FluentAvaloniaVersion> | ||
</ItemGroup> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.