diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index ade5e70..b157c3b 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -15,7 +15,13 @@ jobs:
with:
dotnet-version: 8.0.x
- working-directory: ./src/backend/NSExt
- run: dotnet build -c Release
+ run: dotnet build -c Release -f net6.0
+ - working-directory: ./src/backend/NSExt
+ run: dotnet build -c Release -f net7.0
+ - working-directory: ./src/backend/NSExt
+ run: dotnet build -c Release -f net8.0
+ - working-directory: ./src/backend/NSExt
+ run: dotnet pack -c Release --no-build
- uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -24,5 +30,7 @@ jobs:
release_name: Release ${{ github.ref }}
draft: false
prerelease: false
- - run: dotnet nuget push ./dist/backend/NSExt/bin/Release/NSExt.${{ github.ref }}.nupkg --skip-duplicate --api-key ${{ secrets.NUGET_TOKEN }} --source https://api.nuget.org/v3/index.json
- - run: dotnet nuget push ./dist/backend/NSExt/bin/Release/NSExt.${{ github.ref }}.snupkg --skip-duplicate --api-key ${{ secrets.NUGET_TOKEN }} --source https://api.nuget.org/v3/index.json
\ No newline at end of file
+ - id: get_version
+ run: echo ::set-output name=VERSION::${GITHUB_REF#refs/tags/v}
+ - run: dotnet nuget push ./dist/backend/NSExt/bin/Release/NSExt.${{ steps.get_version.outputs.VERSION }}.nupkg --skip-duplicate --api-key ${{ secrets.NUGET_TOKEN }} --source https://api.nuget.org/v3/index.json
+ - run: dotnet nuget push ./dist/backend/NSExt/bin/Release/NSExt.${{ steps.get_version.outputs.VERSION }}.snupkg --skip-duplicate --api-key ${{ secrets.NUGET_TOKEN }} --source https://api.nuget.org/v3/index.json
\ No newline at end of file
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 6c1eb05..a9413ef 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -8,4 +8,4 @@ All notable changes to this project will be documented in this file. See [standa
### Features
* ++ ([e41652d](https://github.com/nsnail/NSExt/commit/e41652d553beda7a2eb1600da4795e07f4260330))
-* 增加一些扩展方法 ([1f26d0f](https://github.com/nsnail/NSExt/commit/1f26d0f28098f7ee98a9a5482096aecd53b85e04))
\ No newline at end of file
+* 增加一些扩展方法 ([1f26d0f](https://github.com/nsnail/NSExt/commit/1f26d0f28098f7ee98a9a5482096aecd53b85e04))
diff --git a/dotnet-tools.json b/dotnet-tools.json
index d36cef7..64cfe12 100644
--- a/dotnet-tools.json
+++ b/dotnet-tools.json
@@ -7,24 +7,6 @@
"commands": [
"t4"
]
- },
- "dotnet-script": {
- "version": "1.5.0",
- "commands": [
- "dotnet-script"
- ]
- },
- "jetbrains.resharper.globaltools": {
- "version": "2023.3.0",
- "commands": [
- "jb"
- ]
- },
- "dnt": {
- "version": "1.8.3",
- "commands": [
- "dnt"
- ]
}
}
}
\ No newline at end of file
diff --git a/package.json b/package.json
index 6eab1d7..68ef5ea 100644
--- a/package.json
+++ b/package.json
@@ -11,4 +11,4 @@
"path": "node_modules/cz-git"
}
}
-}
\ No newline at end of file
+}
diff --git a/src/backend/NSExt/NSExt.csproj b/src/backend/NSExt/NSExt.csproj
index 5d6fabe..c83cccc 100644
--- a/src/backend/NSExt/NSExt.csproj
+++ b/src/backend/NSExt/NSExt.csproj
@@ -4,12 +4,12 @@
false
true
true
- true
true
true
logo.png
MIT
https://github.com/nsnail/NSExt.git
+ README.md
extensions
true
NSExt
@@ -23,7 +23,8 @@
-
+
+
PreserveNewest