-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update the build SDK to version 3.1.0
- update GitHub Actions - drop AppVeyor builds - instead, use GitHub Actions for CI - enable Dependabot for GitHub Actions and configure labels for it - set `AssemblyIsComVisible` to `false` in the project file - allows dropping the `AssemblyInfo.cs` file - add "public API" reference files - align copyright years between license file and project - target `net6.0` and `net8.0` only - bump version to 4.0.0-pre
- Loading branch information
Showing
15 changed files
with
1,063 additions
and
27 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
14 changes: 11 additions & 3 deletions
14
MetaBrainz.MusicBrainz.DiscId/MetaBrainz.MusicBrainz.DiscId.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
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.