Skip to content

Commit 423f6ba

Browse files
committed
Write library information in CheckDwmApi
1 parent dc6cb17 commit 423f6ba

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

.github/workflows/build-package.yml

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,17 +103,26 @@ jobs:
103103
104104
- name: Build project (full)
105105
if: inputs.package-type == 'Full'
106-
run: dotnet build DryWetMidi/Melanchall.DryWetMidi.csproj --configuration ${{ vars.BUILD_CONFIGURATION || 'Release' }}
106+
run: dotnet build DryWetMidi/Melanchall.DryWetMidi.csproj --configuration ${{ vars.BUILD_CONFIGURATION }}
107107

108108
- name: Build project (nativeless)
109109
if: inputs.package-type == 'Nativeless'
110-
run: dotnet build DryWetMidi/Melanchall.DryWetMidi.csproj --configuration ${{ vars.BUILD_CONFIGURATION_NATIVELESS || 'ReleaseNativeless' }}
110+
run: dotnet build DryWetMidi/Melanchall.DryWetMidi.csproj --configuration ${{ vars.BUILD_CONFIGURATION_NATIVELESS }}
111111

112-
- name: Create NuGet package
112+
- name: Create NuGet package (full)
113113
run: |
114114
dotnet pack DryWetMidi/Melanchall.DryWetMidi.csproj `
115115
--no-build `
116116
--output NuGetPackage `
117+
--configuration ${{ vars.BUILD_CONFIGURATION }} `
118+
-p:RepositoryBranch="${{ github.ref_name }}"
119+
120+
- name: Create NuGet package (nativeless)
121+
run: |
122+
dotnet pack DryWetMidi/Melanchall.DryWetMidi.csproj `
123+
--no-build `
124+
--output NuGetPackage `
125+
--configuration ${{ vars.BUILD_CONFIGURATION_NATIVELESS }} `
117126
-p:RepositoryBranch="${{ github.ref_name }}"
118127
119128
- name: Upload NuGet package

0 commit comments

Comments
 (0)