Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 12 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:
permissions:
contents: read
packages: write
id-token: write

env:
DOTNET_VERSION: "10.0.x"
Expand Down Expand Up @@ -62,13 +63,22 @@ jobs:
env:
NUGET_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: NuGet login
uses: NuGet/login@v1
id: nuget_login
with:
user: ${{ secrets.NUGET_USER }}

- name: Restore dependencies
run: dotnet restore

- name: Build project
run: dotnet build --no-restore --configuration Release

- name: Publish to GitHub Packages
- name: Publish Packages
run: |
dotnet pack --configuration Release --no-build -o ./nupkg
dotnet nuget push ./nupkg/*.nupkg --skip-duplicate --api-key ${{ secrets.GITHUB_TOKEN }}
dotnet nuget push ./nupkg/*.nupkg --skip-duplicate --api-key ${{ secrets.GITHUB_TOKEN }}
dotnet nuget push ./nupkg/*.nupkg --skip-duplicate --source ${{ env.NUGET_URL }} --api-key ${{ steps.nuget_login.outputs.NUGET_API_KEY }}
env:
NUGET_URL: 'https://api.nuget.org/v3/index.json'
12 changes: 0 additions & 12 deletions Directory.Build.props

This file was deleted.

1 change: 0 additions & 1 deletion LogicBuilder.ComponentModel.Design.Serialization.slnx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
<File Path=".github/workflows/ci.yml" />
<File Path=".github/workflows/release.yml" />
<File Path=".github/workflows/validate-pr-ab.yml" />
<File Path="Directory.Build.props" />
</Folder>
<Project Path="LogicBuilder.ComponentModel.Design.Serialization.Tests/LogicBuilder.ComponentModel.Design.Serialization.Tests.csproj" Id="a8c7ff01-a569-45c6-adeb-15a6311901fe" />
<Project Path="LogicBuilder.ComponentModel.Design.Serialization/LogicBuilder.ComponentModel.Design.Serialization.csproj" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,14 @@
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<PackageId>LogicBuilder.ComponentModel.Design.Serialization</PackageId>
<Authors>BlaiseD</Authors>
<Authors>BlaiseD</Authors>
<LangVersion>latest</LangVersion>
<WarningsAsErrors>true</WarningsAsErrors>
<NoWarn>$(NoWarn);1701;1702;1591</NoWarn>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<RootNamespace>LogicBuilder.ComponentModel.Design.Serialization</RootNamespace>
<Description>Implements DesignerSerializationManager for .NetStandard.</Description>
<PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance>
Expand Down