Compare commits

..
12 Commits
Author SHA1 Message Date
Jeremy Pritts d2c656ff24 bump version 2022-04-09 03:01:43 -04:00
Jeremy Pritts d254482fb7 dont throw for unknown unity version type during conversion to characters 2022-04-09 02:58:05 -04:00
dependabot[bot] d1b5be899a Bump NUnit from 3.13.2 to 3.13.3
Bumps [NUnit](https://github.com/nunit/nunit) from 3.13.2 to 3.13.3.
- [Release notes](https://github.com/nunit/nunit/releases)
- [Changelog](https://github.com/nunit/nunit/blob/v3.13.3/CHANGES.md)
- [Commits](https://github.com/nunit/nunit/compare/v3.13.2...v3.13.3)

---
updated-dependencies:
- dependency-name: NUnit
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
2022-03-21 21:42:03 -04:00
dependabot[bot] ec5b531448 Bump actions/setup-dotnet from 1 to 2
Bumps [actions/setup-dotnet](https://github.com/actions/setup-dotnet) from 1 to 2.
- [Release notes](https://github.com/actions/setup-dotnet/releases)
- [Commits](https://github.com/actions/setup-dotnet/compare/v1...v2)

---
updated-dependencies:
- dependency-name: actions/setup-dotnet
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
2022-03-15 15:24:16 -04:00
dependabot[bot] ae69a49b4d Bump actions/checkout from 2 to 3
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
2022-03-15 15:24:05 -04:00
Jeremy Pritts 4c164435b2 yet again 2022-03-14 16:33:29 -04:00
Jeremy Pritts 4cf22f6b44 try again 2022-03-14 16:27:26 -04:00
Jeremy Pritts 1f49a61abe test net 5 as well 2022-03-14 16:25:51 -04:00
Jeremy Pritts 2bd7bb0914 try again without net framework 2022-03-14 16:21:36 -04:00
Jeremy Pritts 27bb084d72 update build script 2022-03-14 16:14:56 -04:00
Jeremy Pritts a03114987b trimmable support 2022-03-14 15:41:05 -04:00
ds5678 54b5d01872 Create dotnet.yml 2022-03-14 12:25:45 -07:00
5 changed files with 58 additions and 4 deletions

No files matched your search

+44
View File
@@ -0,0 +1,44 @@
name: .NET
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
net6:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v2
with:
dotnet-version: 6.0.x
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build --framework net6.0 --no-restore
- name: Test
run: dotnet test --framework net6.0 --no-build --verbosity normal
net5:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v2
with:
dotnet-version: |
5.0.x
6.0.x
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build --framework net5.0 --no-restore
- name: Test
run: dotnet test --framework net5.0 --no-build --verbosity normal
@@ -12,7 +12,7 @@
<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.1.0" />
<PackageReference Include="NUnit" Version="3.13.2" />
<PackageReference Include="NUnit" Version="3.13.3" />
<PackageReference Include="NUnit3TestAdapter" Version="4.2.1" />
<PackageReference Include="coverlet.collector" Version="3.1.2" />
</ItemGroup>
+6
View File
@@ -19,6 +19,11 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Licenses", "Licenses", "{4B
Licenses\uTinyRipper.md = Licenses\uTinyRipper.md
EndProjectSection
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Workflows", "Workflows", "{B63714DC-6258-4032-9930-DFF0667624BC}"
ProjectSection(SolutionItems) = preProject
.github\workflows\dotnet.yml = .github\workflows\dotnet.yml
EndProjectSection
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
@@ -39,6 +44,7 @@ Global
EndGlobalSection
GlobalSection(NestedProjects) = preSolution
{4BE414B8-5B2D-40C1-BA3E-7DBBD6F7D854} = {36D291AB-E468-4CE7-8DB3-2C46639FE5AE}
{B63714DC-6258-4032-9930-DFF0667624BC} = {36D291AB-E468-4CE7-8DB3-2C46639FE5AE}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {370218F4-B218-4C62-B7F7-D03B799F6349}
+1 -1
View File
@@ -70,7 +70,7 @@
UnityVersionType.Final => 'f',
UnityVersionType.Patch => 'p',
UnityVersionType.Experimental => 'x',
_ => throw new ArgumentOutOfRangeException(nameof(type), $"Unsupported version type {type}"),
_ => 'u',//unknown
};
}
}
+6 -2
View File
@@ -9,8 +9,8 @@
<AssemblyName>AssetRipper.VersionUtilities</AssemblyName>
<Authors>ds5678</Authors>
<Company>AssetRipper</Company>
<Version>1.2.0.0</Version>
<AssemblyVersion>1.2.0.0</AssemblyVersion>
<Version>1.2.1.0</Version>
<AssemblyVersion>1.2.1.0</AssemblyVersion>
<PackageId>AssetRipper.VersionUtilities</PackageId>
<PackageTags>C# version unity unity3d</PackageTags>
<RepositoryUrl>https://github.com/AssetRipper/VersionUtilities</RepositoryUrl>
@@ -23,5 +23,9 @@
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<DocumentationFile>bin\VersionUtilities.xml</DocumentationFile>
</PropertyGroup>
<PropertyGroup Condition=" '$(TargetFramework)' != 'netframework3.5' and '$(TargetFramework)' != 'netframework4.0' ">
<IsTrimmable>true</IsTrimmable>
</PropertyGroup>
</Project>