Skip to content

Commit 326a1bd

Browse files
committed
Added Configuration namespace and LibraryInformation
1 parent d29a6ee commit 326a1bd

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

.github/workflows/build-package.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,14 +101,18 @@ jobs:
101101
run: |
102102
& "${{ github.workspace }}/Resources/Scripts/Copy native binaries locally.ps1" -fromDirectory "${{ runner.temp }}/NativeLibraries"
103103
104-
- name: Build project
104+
- name: Build project (full)
105+
if: inputs.package-type == 'Full'
105106
run: dotnet build DryWetMidi/Melanchall.DryWetMidi.csproj --configuration ${{ vars.BUILD_CONFIGURATION || 'Release' }}
107+
108+
- name: Build project (nativeless)
109+
if: inputs.package-type == 'Nativeless'
110+
run: dotnet build DryWetMidi/Melanchall.DryWetMidi.csproj --configuration ${{ vars.BUILD_CONFIGURATION_NATIVELESS || 'ReleaseNativeless' }}
106111

107112
- name: Create NuGet package
108113
run: |
109114
dotnet pack DryWetMidi/Melanchall.DryWetMidi.csproj `
110115
--no-build `
111-
--configuration ${{ vars.BUILD_CONFIGURATION || 'Release' }} `
112116
--output NuGetPackage `
113117
-p:RepositoryBranch="${{ github.ref_name }}"
114118

0 commit comments

Comments
 (0)