Skip to content

Commit ca81116

Browse files
author
Sam Byass
committed
CI: Publish to dev server on build once tests pass
1 parent 10d33e3 commit ca81116

5 files changed

Lines changed: 33 additions & 28 deletions

File tree

.github/workflows/dotnet-core.yml

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,28 @@ jobs:
6666
with:
6767
dotnet-version: 6.x
6868
- name: Install dependencies
69-
run: dotnet restore /p:VersionSuffix=${{ steps.set-vars.outputs.git_branch }}-${{ steps.set-vars.outputs.git_hash }}
69+
run: dotnet restore /p:VersionSuffix=${{ steps.set-vars.outputs.git_branch }}_${{ steps.set-vars.outputs.git_hash }}
7070
- name: Run Tests
71-
run: dotnet test /p:Configuration=Release /p:VersionSuffix=${{ steps.set-vars.outputs.git_branch }}-${{ steps.set-vars.outputs.git_hash }}
71+
run: dotnet test /p:Configuration=Release /p:VersionSuffix=${{ steps.set-vars.outputs.git_branch }}_${{ steps.set-vars.outputs.git_hash }}
72+
- name: Publish WasmDisassembler
73+
uses: EasyDesk/action-nuget-push@v1
74+
if: secrets.NUGET_KEY != ""
75+
with:
76+
nuget-api-key: ${{ secrets.NUGET_KEY }}
77+
nuget-url: 'https://nuget.samboy.dev/v3/index.json'
78+
publish-dir: './WasmDisassembler/bin/Release/'
79+
- name: Publish LibCpp2IL
80+
uses: EasyDesk/action-nuget-push@v1
81+
if: secrets.NUGET_KEY != ""
82+
with:
83+
nuget-api-key: ${{ secrets.NUGET_KEY }}
84+
nuget-url: 'https://nuget.samboy.dev/v3/index.json'
85+
publish-dir: './LibCpp2IL/bin/Release/'
86+
- name: Publish Cpp2IL.Core
87+
uses: EasyDesk/action-nuget-push@v1
88+
if: secrets.NUGET_KEY != ""
89+
with:
90+
nuget-api-key: ${{ secrets.NUGET_KEY }}
91+
nuget-url: 'https://nuget.samboy.dev/v3/index.json'
92+
publish-dir: './Cpp2IL.Core/bin/Release/'
93+

Cpp2IL.Core/Cpp2IL.Core.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3+
<Authors>Samboy063</Authors>
34
<Company>Samboy063</Company>
45
<Copyright>Copyright © Samboy063 2019-2022</Copyright>
56
<Description>Reverses Unity's IL2CPP Build Process</Description>

LibCpp2IL/LibCpp2IL.csproj

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@
66
<LangVersion>9</LangVersion>
77
<TargetFramework>netstandard2.0</TargetFramework>
88
<PackageId>Samboy063.LibCpp2IL</PackageId>
9+
<Title>LibCpp2IL</Title>
10+
<Authors>Samboy063</Authors>
11+
<Copyright>Copyright © Samboy063 2019-2022</Copyright>
12+
<Company>Samboy063</Company>
913
<Version>2022.0.2</Version>
1014
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
1115
<PackageLicenseExpression>MIT</PackageLicenseExpression>
@@ -17,16 +21,12 @@
1721
<Platforms>AnyCPU;x64</Platforms>
1822
</PropertyGroup>
1923

20-
<PropertyGroup>
21-
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
22-
</PropertyGroup>
23-
2424
<ItemGroup>
25-
<PackageReference Include="IndexRange" Version="1.0.0" />
25+
<PackageReference Include="IndexRange" Version="1.0.0" />
2626
</ItemGroup>
2727

2828
<ItemGroup>
29-
<ProjectReference Include="..\WasmDisassembler\WasmDisassembler.csproj" />
29+
<ProjectReference Include="..\WasmDisassembler\WasmDisassembler.csproj" />
3030
</ItemGroup>
3131

3232
</Project>

LibCpp2IL/Properties/AssemblyInfo.cs

Lines changed: 0 additions & 20 deletions
This file was deleted.

WasmDisassembler/WasmDisassembler.csproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4+
<Authors>Samboy063</Authors>
5+
<Company>Samboy063</Company>
46
<TargetFramework>netstandard2.0</TargetFramework>
57
<ImplicitUsings>enable</ImplicitUsings>
68
<Nullable>enable</Nullable>

0 commit comments

Comments
 (0)