From 7a1c8db6e4c1cd6eb0ebe5f9a75bb264a71737a2 Mon Sep 17 00:00:00 2001 From: nsnail Date: Mon, 25 Nov 2024 17:07:53 +0800 Subject: [PATCH] =?UTF-8?q?ci:=20=F0=9F=8E=A1=20deploy=20scripts=20(#23)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * ci: 🎡 deploy scripts [skip ci] * ci: 🎡 deploy scripts [skip ci] --------- Co-authored-by: tk --- .github/workflows/README.md | 1 + .github/workflows/{ci.yml => release.yml} | 8 +++----- NSExt.sln | 3 ++- assets/README.md | 1 + build/copy.pkg.xml.comment.files.targets | 4 ++-- docker/README.md | 1 + 6 files changed, 10 insertions(+), 8 deletions(-) create mode 100644 .github/workflows/README.md rename .github/workflows/{ci.yml => release.yml} (85%) create mode 100644 assets/README.md create mode 100644 docker/README.md diff --git a/.github/workflows/README.md b/.github/workflows/README.md new file mode 100644 index 0000000..febad1f --- /dev/null +++ b/.github/workflows/README.md @@ -0,0 +1 @@ +github workflows \ No newline at end of file diff --git a/.github/workflows/ci.yml b/.github/workflows/release.yml similarity index 85% rename from .github/workflows/ci.yml rename to .github/workflows/release.yml index 5b9c816..a1571f9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/release.yml @@ -13,13 +13,11 @@ jobs: filter: tree:0 - uses: actions/setup-dotnet@v3 with: - dotnet-version: 8.0.x - - working-directory: ./src/backend/NSExt - run: dotnet build -c Release -f net6.0 - - working-directory: ./src/backend/NSExt - run: dotnet build -c Release -f net7.0 + dotnet-version: 9.0.x - working-directory: ./src/backend/NSExt run: dotnet build -c Release -f net8.0 + - working-directory: ./src/backend/NSExt + run: dotnet build -c Release -f net9.0 - working-directory: ./src/backend/NSExt run: dotnet pack -c Release --no-build - uses: actions/create-release@v1 diff --git a/NSExt.sln b/NSExt.sln index d8cbe2f..e9b9c78 100644 --- a/NSExt.sln +++ b/NSExt.sln @@ -51,7 +51,8 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".github", ".github", "{1129 EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "workflows", "workflows", "{3C6F049E-3EE8-4D66-9AFF-E8A369032487}" ProjectSection(SolutionItems) = preProject - ci.yml = .github/workflows/ci.yml + README.md = .github/workflows/README.md + release.yml = .github/workflows/release.yml EndProjectSection EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "build", "build", "{8E4C93BA-9493-4892-80C4-5E174C504829}" diff --git a/assets/README.md b/assets/README.md new file mode 100644 index 0000000..c613f73 --- /dev/null +++ b/assets/README.md @@ -0,0 +1 @@ +# 资源文件目录 \ No newline at end of file diff --git a/build/copy.pkg.xml.comment.files.targets b/build/copy.pkg.xml.comment.files.targets index 93db426..5f7a4f5 100644 --- a/build/copy.pkg.xml.comment.files.targets +++ b/build/copy.pkg.xml.comment.files.targets @@ -3,8 +3,8 @@ + Include="$(NugetPackageRoot)\%(PackageReference.Identity)\%(PackageReference.Version)\%(PackageReference.CopyToOutputDirectory)" /> - + \ No newline at end of file diff --git a/docker/README.md b/docker/README.md new file mode 100644 index 0000000..6d0eac4 --- /dev/null +++ b/docker/README.md @@ -0,0 +1 @@ +docker \ No newline at end of file