-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #47 from Zastai/update-build-sdk
Update the build SDK to version 3.1.0
- Loading branch information
Showing
23 changed files
with
755 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
name: Build | ||
|
||
on: | ||
push: | ||
branches: | ||
- 'main' | ||
tags: | ||
- 'v[0-9]+.[0-9]+.[0-9]+' | ||
pull_request: | ||
branches: | ||
- 'main' | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
env: | ||
dotnet-version: 8.0.x | ||
strategy: | ||
matrix: | ||
configuration: ['Debug', 'Release'] | ||
|
||
steps: | ||
- name: Check out the project | ||
uses: actions/checkout@v4 | ||
- name: Set up .NET ${{env.dotnet-version}} | ||
uses: actions/setup-dotnet@v4 | ||
id: setup | ||
with: | ||
dotnet-version: ${{env.dotnet-version}} | ||
env: | ||
NUGET_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}} | ||
- name: Create global.json to force use of .NET SDK ${{steps.setup.outputs.dotnet-version}} | ||
run: echo '{"sdk":{"version":"${{steps.setup.outputs.dotnet-version}}"}}' > ./global.json | ||
- name: Run build script (${{matrix.configuration}}) | ||
run: pwsh ./build-package.ps1 -ContinuousIntegration -WithBinLog -Configuration ${{matrix.configuration}} | ||
- name: "Artifact: MSBuild Logs" | ||
uses: actions/upload-artifact@v3 | ||
if: failure() | ||
with: | ||
name: MSBuild Logs (${{matrix.configuration}}) | ||
path: msbuild.*.binlog | ||
- name: "Artifact: NuGet Packages" | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: NuGet Packages (${{matrix.configuration}}) | ||
path: "output/package/${{matrix.configuration}}/*.*nupkg" | ||
- name: Publish (NuGet - GitHub Packages) | ||
if: matrix.configuration == 'Release' && startsWith(github.ref, 'refs/tags/v') | ||
run: "dotnet nuget push output/package/${{matrix.configuration}}/*.nupkg -s https://nuget.pkg.github.com/zastai/index.json -k ${{secrets.GITHUB_TOKEN}}" | ||
- name: Publish (NuGet - nuget.org) | ||
if: matrix.configuration == 'Release' && startsWith(github.ref, 'refs/tags/v') | ||
run: "dotnet nuget push output/package/${{matrix.configuration}}/*.nupkg -s https://api.nuget.org/v3/index.json -k ${{secrets.NUGET_API_KEY}}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 10 additions & 4 deletions
14
MetaBrainz.MusicBrainz.CoverArt/MetaBrainz.MusicBrainz.CoverArt.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,31 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project Sdk="MetaBrainz.Build.Sdk"> | ||
<Project> | ||
|
||
<Sdk Name="MetaBrainz.Build.Sdk" Version="3.1.0" /> | ||
|
||
<PropertyGroup> | ||
<Authors>Zastai</Authors> | ||
<Title>CoverArt Archive Web Service Client Library</Title> | ||
<Description> | ||
This package provides classes for accessing the CoverArt Archive (CAA), enabling the retrieval of cover art for music releases | ||
based on their MusicBrainz ID. | ||
</Description> | ||
<PackageCopyrightOwners>Tim Van Holder</PackageCopyrightOwners> | ||
<PackageCopyrightYears>2016-2023</PackageCopyrightYears> | ||
<PackageRepositoryName>MetaBrainz.MusicBrainz.CoverArt</PackageRepositoryName> | ||
<PackageTags>MusicBrainz album cover art archive CAA libcoverart</PackageTags> | ||
<Version>5.1.1-pre</Version> | ||
<Version>6.0.0-pre</Version> | ||
</PropertyGroup> | ||
|
||
<PropertyGroup> | ||
<AssemblyIsComVisible>false</AssemblyIsComVisible> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="JetBrains.Annotations" IncludeAssets="compile" PrivateAssets="all" /> | ||
<PackageReference Include="MetaBrainz.Common" /> | ||
<PackageReference Include="MetaBrainz.Common.Json" /> | ||
<PackageReference Include="System.Drawing.Common" /> | ||
<PackageReference Include="System.Net.Http" /> | ||
<PackageReference Include="System.Text.Json" /> | ||
</ItemGroup> | ||
|
||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.