Skip to content

Commit

Permalink
Merge branch 'main' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
Noggog committed Dec 23, 2024
2 parents 4a163da + f772d35 commit cde4542
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 27 deletions.
14 changes: 6 additions & 8 deletions .github/workflows/ci-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -119,14 +119,9 @@ jobs:
dotnet restore Spriggit.sln
- name: Build
run: dotnet build Spriggit.sln -c Release --no-restore /p:GeneratePackageOnBuild=false
- name: Pack Preview
if: ${{ success() && (github.event.release.prerelease || github.event_name != 'release') }}
- name: Pack
run: |
dotnet pack Spriggit.sln -c Release -o out --include-symbols
- name: Pack Release
if: ${{ success() && !github.event.release.prerelease && github.event_name == 'release' }}
run: |
dotnet pack Spriggit.sln -c Release -o out --include-symbols
dotnet pack Spriggit.sln -c Release --no-build --no-restore -o out --include-symbols -p:SymbolPackageFormat=snupkg
- name: Pack GUI
if: ${{ success() && !github.event.release.prerelease && github.event_name == 'release' }}
run: dotnet publish "Spriggit.UI/Spriggit.UI.csproj" --configuration Release -p:PublishSingleFile=true
Expand Down Expand Up @@ -169,8 +164,11 @@ jobs:
file: SpriggitCLI.zip
repo_token: ${{ secrets.GITHUB_TOKEN }}
tag: ${{ github.event.release.tag_name }}
- name: Print Packages
run: |
ls out/*.nupkg
- name: Publish to Nuget.org
run: dotnet nuget push **/*.nupkg --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json
run: dotnet nuget push out/**/*.nupkg --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json

update-nightly:
needs: [build-test-push, activity-short-circuit]
Expand Down
28 changes: 14 additions & 14 deletions Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -11,28 +11,28 @@
</PackageVersion>
<PackageVersion Include="Microsoft.SourceLink.GitHub" Version="8.0.0" PrivateAssets="All" />
<PackageVersion Include="Mutagen.Bethesda">
<Version>[0.49.0-alpha.34]</Version>
<Version>[0.49.0-alpha.50]</Version>
</PackageVersion>
<PackageVersion Include="Mutagen.Bethesda.Core">
<Version>[0.49.0-alpha.34]</Version>
<Version>[0.49.0-alpha.50]</Version>
</PackageVersion>
<PackageVersion Include="Mutagen.Bethesda.Kernel">
<Version>[0.49.0-alpha.34]</Version>
<Version>[0.49.0-alpha.50]</Version>
</PackageVersion>
<PackageVersion Include="Mutagen.Bethesda.Skyrim">
<Version>[0.49.0-alpha.34]</Version>
<Version>[0.49.0-alpha.50]</Version>
</PackageVersion>
<PackageVersion Include="Mutagen.Bethesda.Oblivion">
<Version>[0.49.0-alpha.34]</Version>
<Version>[0.49.0-alpha.50]</Version>
</PackageVersion>
<PackageVersion Include="Mutagen.Bethesda.Fallout4">
<Version>[0.49.0-alpha.34]</Version>
<Version>[0.49.0-alpha.50]</Version>
</PackageVersion>
<PackageVersion Include="Mutagen.Bethesda.Starfield">
<Version>[0.49.0-alpha.34]</Version>
<Version>[0.49.0-alpha.50]</Version>
</PackageVersion>
<PackageVersion Include="Mutagen.Bethesda.Testing">
<Version>[0.49.0-alpha.34]</Version>
<Version>[0.49.0-alpha.50]</Version>
</PackageVersion>
<PackageVersion Include="Mutagen.Bethesda.Serialization">
<Version>[1.30.0]</Version>
Expand All @@ -48,23 +48,23 @@
</PackageVersion>
<PackageVersion Include="Newtonsoft.Json" Version="13.0.3" />
<PackageVersion Include="Noggog.Autofac">
<Version>[2.70.0-alpha.12]</Version>
<Version>[2.70.0-alpha.15]</Version>
</PackageVersion>
<PackageVersion Include="Noggog.CSharpExt">
<Version>[2.70.0-alpha.12]</Version>
<Version>[2.70.0-alpha.15]</Version>
</PackageVersion>
<PackageVersion Include="Noggog.CSharpExt.Windows">
<Version>[2.70.0-alpha.12]</Version>
<Version>[2.70.0-alpha.15]</Version>
</PackageVersion>
<PackageVersion Include="Noggog.GitRepository" Version="1.5.0" />
<PackageVersion Include="Noggog.Testing">
<Version>[2.70.0-alpha.12]</Version>
<Version>[2.70.0-alpha.15]</Version>
</PackageVersion>
<PackageVersion Include="Noggog.WPF">
<Version>[2.70.0-alpha.12]</Version>
<Version>[2.70.0-alpha.15]</Version>
</PackageVersion>
<PackageVersion Include="Noggog.SourceGenerators">
<Version>[2.70.0-alpha.12]</Version>
<Version>[2.70.0-alpha.15]</Version>
</PackageVersion>
<PackageVersion Include="NuGet.Build.Tasks">
<Version>6.12.1</Version>
Expand Down
1 change: 1 addition & 0 deletions Spriggit.Engine/Spriggit.Engine.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net9.0</TargetFramework>
<IsPackable>false</IsPackable>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\Spriggit.Core\Spriggit.Core.csproj"/>
Expand Down
1 change: 1 addition & 0 deletions Spriggit.UI/ViewModels/Transient/LinkInputVm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ public class LinkInputVm : ViewModel
{
PathType = PathPickerVM.PathTypeOptions.Folder,
ExistCheckOption = PathPickerVM.CheckOptions.Off,
MissingIsError = false,
};

public PathPickerVM DataFolderPicker { get; } = new()
Expand Down
6 changes: 1 addition & 5 deletions Spriggit.UI/ViewModels/Transient/LinkVm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -126,11 +126,7 @@ public LinkVm(

SyncToModCommand = ReactiveCommand.Create<Unit>(
execute: _ => { },
Observable.CombineLatest(
canRun,
Input.GitFolderPicker.WhenAnyValue(x => x.Exists),
(r, e) => r && e)
.ObserveOnGui());
canRun.ObserveOnGui());
CancelSyncToModCommand = ReactiveCommand.Create(
() => { },
canExecute: this.WhenAnyValue(x => x.State).Select(x => x == SyncState.Mod)
Expand Down

0 comments on commit cde4542

Please sign in to comment.