Skip to content

Commit

Permalink
Fix nightly packaging
Browse files Browse the repository at this point in the history
  • Loading branch information
OoLunar committed Dec 18, 2023
1 parent b6d5d46 commit e022e0b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
- name: Package Project
run: |
NIGHTLY=$(printf "%0*d" 5 ${{ github.run_number }})
dotnet pack -c Release -o build -p:Nightly=$NIGHTLY src/OoLunar.DSharpPlus.CommandAll.csproj
dotnet pack -c Release -o build -p:Nightly=Nightly-$NIGHTLY src/DeepgramSharp.csproj
dotnet nuget push "build/*" --skip-duplicate -k ${{ secrets.NUGET_ORG_API_KEY }} -s https://api.nuget.org/v3/index.json
- name: Upload Artifact
uses: actions/upload-artifact@v3
Expand Down
3 changes: 3 additions & 0 deletions Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,7 @@
<ProjectRoot>$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildProjectDirectory), "DeepgramSharp.sln"))</ProjectRoot>
<SuppressNETCoreSdkPreviewMessage>true</SuppressNETCoreSdkPreviewMessage>
</PropertyGroup>
<PropertyGroup Condition="$(Nightly) != ''">
<Version>$(Version)-$(Nightly)</Version>
</PropertyGroup>
</Project>

0 comments on commit e022e0b

Please sign in to comment.