Skip to content

Commit

Permalink
build(nuget): fix dll striping (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
Xenira committed Feb 10, 2024
1 parent 6ae0bfe commit 322cf2a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand Down
4 changes: 3 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
{
"conventionalCommits.scopes": []
"conventionalCommits.scopes": [
"nuget"
]
}

0 comments on commit 322cf2a

Please sign in to comment.