From 322cf2a0dc959080b65bfa69edd6ca7a10a39aef Mon Sep 17 00:00:00 2001 From: Xenira <1288524+Xenira@users.noreply.github.com> Date: Sat, 10 Feb 2024 03:41:16 +0100 Subject: [PATCH] build(nuget): fix dll striping (#5) --- .github/workflows/release-please.yml | 6 +++--- .vscode/settings.json | 4 +++- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml index eddbfd6..5d3b390 100644 --- a/.github/workflows/release-please.yml +++ b/.github/workflows/release-please.yml @@ -67,8 +67,8 @@ jobs: needs: release-please if: ${{ needs.release-please.outputs.release_created }} steps: - - uses: actions/checkout@v2 - - uses: NuGet/setup-nuget@v1.0.5 + - uses: actions/checkout@v4 + - uses: NuGet/setup-nuget@v2.0.0 - name: Download release artifact uses: actions/download-artifact@v4 with: @@ -78,7 +78,7 @@ jobs: github-token: ${{ secrets.DEPENDENCY_TOKEN }} - name: Strip release artifact run: | - ./tools/NStrip.exe -cg -p --cg-exclude-events artifact/BepInEx/plugins/pi_utils/pi_utils.dll ./nuget/lib + ./tools/NStrip.exe -cg -p --cg-exclude-events artifact/BepInEx/plugins/pi_utils/pi_utils.dll ./nuget/lib/pi_utils.dll - name: Pack nuget run: nuget pack nuget -OutputFileNamesWithoutVersion -OutputDirectory build -Properties "git=https://github.com/${{ github.repository }}.git;name=${{ github.event.repository.name }};author=${{ github.repository_owner }};description=${{ github.event.repository.description }}" - name: Publish nuget diff --git a/.vscode/settings.json b/.vscode/settings.json index 36af87d..50a52f9 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,3 +1,5 @@ { - "conventionalCommits.scopes": [] + "conventionalCommits.scopes": [ + "nuget" + ] } \ No newline at end of file