diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index f3bfb8e4..ce7e7938 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -123,7 +123,7 @@ jobs: path: ./src/NuGetForUnity.Packager/Assets/NuGet/Editor - name: Unity - Packager (build .unitypackage) - uses: game-ci/unity-builder@v3.1.0 + uses: game-ci/unity-builder@v2.1.2 env: UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }} UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }} @@ -213,7 +213,7 @@ jobs: uses: ./.github/actions/checkout - name: Unity - Run tests - uses: game-ci/unity-test-runner@v3.1.0 + uses: game-ci/unity-test-runner@v2.1.1 env: UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }} UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }} diff --git a/src/NuGetForUnity/Editor/PackageSource/NugetPackageSourceV3.cs b/src/NuGetForUnity/Editor/PackageSource/NugetPackageSourceV3.cs index 55114a45..c8b7e193 100644 --- a/src/NuGetForUnity/Editor/PackageSource/NugetPackageSourceV3.cs +++ b/src/NuGetForUnity/Editor/PackageSource/NugetPackageSourceV3.cs @@ -174,7 +174,7 @@ public List FindPackagesById(INugetPackageIdentifier package) return packages; } - var matchingVersion = fetchedPackage.Versions.FindLast(version => package.InRange(version)); + var matchingVersion = fetchedPackage.Versions.FindLast(package.InRange); if (matchingVersion == null) { // no matching version found diff --git a/src/NuGetForUnity/Editor/Ui/NugetPreferences.cs b/src/NuGetForUnity/Editor/Ui/NugetPreferences.cs index e9e7f61b..38f394d1 100644 --- a/src/NuGetForUnity/Editor/Ui/NugetPreferences.cs +++ b/src/NuGetForUnity/Editor/Ui/NugetPreferences.cs @@ -33,7 +33,7 @@ public class NugetPreferences : SettingsProvider /// /// The current version of NuGet for Unity. /// - public const string NuGetForUnityVersion = "4.0.1"; + public const string NuGetForUnityVersion = "4.0.2"; private readonly GUIContent deleteX = new GUIContent("\u2716"); diff --git a/src/NuGetForUnity/package.json b/src/NuGetForUnity/package.json index 45f82537..f8f9e7a0 100644 --- a/src/NuGetForUnity/package.json +++ b/src/NuGetForUnity/package.json @@ -1,7 +1,7 @@ { "name": "com.github-glitchenzo.nugetforunity", "displayName": "NuGetForUnity", - "version": "4.0.1", + "version": "4.0.2", "description": "A NuGet Package Manager for Unity", "unity": "2018.4", "keywords": [