Skip to content

Commit

Permalink
ci: fix nuget pack path
Browse files Browse the repository at this point in the history
  • Loading branch information
moomiji committed Dec 23, 2024
1 parent 8995802 commit da5c492
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@ jobs:
nuget pack $NUSPEC \
-Verbosity detailed \
-Properties "version=${version//-post/};year=$(date +%Y);branch=$(git rev-parse --abbrev-ref HEAD);commit=$(git rev-parse HEAD);root_path=../.."
-Properties "version=${version//-post/};year=$(date +%Y);branch=$(git rev-parse --abbrev-ref HEAD);commit=$(git rev-parse HEAD);root_path=..\.."
done
- uses: actions/upload-artifact@v4
Expand Down
2 changes: 1 addition & 1 deletion tools/nupkgs/Maa.Framework.Runtime.android-arm64.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
<description>Native binaries of MAA Framework Embedded for android-arm64.</description>
</metadata>
<files>
<file src="$root_path$\assets\MAA-android-aarch64\bin\**" target="runtimes\android-arm64\native" />
<file src="$root_path$\assets\MAA-android-aarch64\bin\**\*.so*" target="runtimes\android-arm64\native" />
2 changes: 1 addition & 1 deletion tools/nupkgs/Maa.Framework.Runtime.android-x64.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
<description>Native binaries of MAA Framework Embedded for android-x64.</description>
</metadata>
<files>
<file src="$root_path$\assets\MAA-android-x86_64\bin\**" target="runtimes\android-x64\native" />
<file src="$root_path$\assets\MAA-android-x86_64\bin\**\*.so*" target="runtimes\android-x64\native" />
2 changes: 1 addition & 1 deletion tools/nupkgs/Maa.Framework.Runtime.linux-arm64.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
<description>Native binaries of MAA Framework Embedded for linux-arm64.</description>
</metadata>
<files>
<file src="$root_path$\assets\MAA-linux-aarch64\bin\**" target="runtimes\linux-arm64\native" />
<file src="$root_path$\assets\MAA-linux-aarch64\bin\**\*.so*" target="runtimes\linux-arm64\native" />
2 changes: 1 addition & 1 deletion tools/nupkgs/Maa.Framework.Runtime.linux-x64.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
<description>Native binaries of MAA Framework Embedded for linux-x64.</description>
</metadata>
<files>
<file src="$root_path$\assets\MAA-linux-x86_64\bin\**" target="runtimes\linux-x64\native" />
<file src="$root_path$\assets\MAA-linux-x86_64\bin\**\*.so*" target="runtimes\linux-x64\native" />
2 changes: 1 addition & 1 deletion tools/nupkgs/Maa.Framework.Runtime.osx-arm64.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
<description>Native binaries of MAA Framework Embedded for osx-arm64.</description>
</metadata>
<files>
<file src="$root_path$\assets\MAA-macos-aarch64\bin\**" target="runtimes\osx-arm64\native" />
<file src="$root_path$\assets\MAA-macos-aarch64\bin\**\*.dylib*" target="runtimes\osx-arm64\native" />
2 changes: 1 addition & 1 deletion tools/nupkgs/Maa.Framework.Runtime.osx-x64.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
<description>Native binaries of MAA Framework Embedded for osx-x64.</description>
</metadata>
<files>
<file src="$root_path$\assets\MAA-macos-x86_64\bin\**" target="runtimes\osx-x64\native" />
<file src="$root_path$\assets\MAA-macos-x86_64\bin\**\*.dylib*" target="runtimes\osx-x64\native" />
2 changes: 1 addition & 1 deletion tools/nupkgs/Maa.Framework.Runtime.win-arm64.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
<description>Native binaries of MAA Framework Embedded for win-arm64.</description>
</metadata>
<files>
<file src="$root_path$\assets\MAA-win-aarch64\bin\**" target="runtimes\win-arm64\native" />
<file src="$root_path$\assets\MAA-win-aarch64\bin\**\*.dll*" target="runtimes\win-arm64\native" />
2 changes: 1 addition & 1 deletion tools/nupkgs/Maa.Framework.Runtime.win-x64.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
<description>Native binaries of MAA Framework Embedded for win-x64.</description>
</metadata>
<files>
<file src="$root_path$\assets\MAA-win-x86_64\bin\**" target="runtimes\win-x64\native" />
<file src="$root_path$\assets\MAA-win-x86_64\bin\**\*.dll*" target="runtimes\win-x64\native" />

0 comments on commit da5c492

Please sign in to comment.